X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fp5-Alien-ZMQ;a=blobdiff_plain;f=files%2Fzeromq-3.2.3-conditional-eproto.patch;fp=files%2Fzeromq-3.2.3-conditional-eproto.patch;h=1c4d7453e6a220ad22aef804476c0735c221c7ff;hp=0000000000000000000000000000000000000000;hb=03cf2eb0e346efc4529e3deb029f8228502c7448;hpb=f3a10eaaa7c6da6eadbe6903d32bd2b17bab8ac8 diff --git a/files/zeromq-3.2.3-conditional-eproto.patch b/files/zeromq-3.2.3-conditional-eproto.patch new file mode 100644 index 0000000..1c4d745 --- /dev/null +++ b/files/zeromq-3.2.3-conditional-eproto.patch @@ -0,0 +1,15 @@ +This patch is for platforms which don't define EPROTO. +--- a/src/err.hpp ++++ b/src/err.hpp +@@ -44,6 +44,11 @@ + #include + #endif + ++// EPROTO is not used by OpenBSD and maybe other platforms. ++#ifndef EPROTO ++#define EPROTO 0 ++#endif ++ + namespace zmq + { + const char *errno_to_string (int errno_);