]> Dogcows Code - chaz/p5-Alien-ZMQ/blobdiff - files/zeromq-3.2.3-conditional-eproto.patch
switch distribution to zeromq-3.2.3; bump version
[chaz/p5-Alien-ZMQ] / files / zeromq-3.2.3-conditional-eproto.patch
diff --git a/files/zeromq-3.2.3-conditional-eproto.patch b/files/zeromq-3.2.3-conditional-eproto.patch
new file mode 100644 (file)
index 0000000..1c4d745
--- /dev/null
@@ -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 <netdb.h>
+ #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_);
This page took 0.018177 seconds and 4 git commands to generate.