diff options
author | fhajny <fhajny@pkgsrc.org> | 2015-09-30 10:45:10 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2015-09-30 10:45:10 +0000 |
commit | da99fe47da3e443d0afb9ca778d2173c9ee5b84b (patch) | |
tree | d36fa308cb87b9a90023185c507402002af7f6d3 /net | |
parent | 1d6effe0cf25855ddc537a0e643e3d6894ef4794 (diff) | |
download | pkgsrc-da99fe47da3e443d0afb9ca778d2173c9ee5b84b.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'net')
-rw-r--r-- | net/zeromq/distinfo | 3 | ||||
-rw-r--r-- | net/zeromq/patches/patch-src_tcp__address.cpp | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/net/zeromq/distinfo b/net/zeromq/distinfo index d3910ee8ac6..09a9a3df567 100644 --- a/net/zeromq/distinfo +++ b/net/zeromq/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.16 2015/08/28 12:52:01 he Exp $ +$NetBSD: distinfo,v 1.17 2015/09/30 10:45:10 fhajny Exp $ SHA1 (zeromq-4.1.3.tar.gz) = b7185724f2fd56d0face50047757ac2a04d26ca4 RMD160 (zeromq-4.1.3.tar.gz) = fbfe9c0fe9a141c9b4cf282b89019f9df47079de Size (zeromq-4.1.3.tar.gz) = 1372069 bytes SHA1 (patch-configure) = 1dc8623eb06a167b3559ae950a9dbf1e19a29b6d SHA1 (patch-src_platform.hpp.in) = 767370bd997310cddeb7ee1f759bec1a638974e0 +SHA1 (patch-src_tcp__address.cpp) = ad1c1ec9b724c3bd7f0fae15c296e0ec33b4267a diff --git a/net/zeromq/patches/patch-src_tcp__address.cpp b/net/zeromq/patches/patch-src_tcp__address.cpp new file mode 100644 index 00000000000..ff277863bd9 --- /dev/null +++ b/net/zeromq/patches/patch-src_tcp__address.cpp @@ -0,0 +1,16 @@ +$NetBSD: patch-src_tcp__address.cpp,v 1.1 2015/09/30 10:45:10 fhajny Exp $ + +Back port build fix for SunOS. +From https://github.com/zeromq/libzmq/pull/1440 + +--- src/tcp_address.cpp.orig 2015-06-15 09:43:08.000000000 +0000 ++++ src/tcp_address.cpp +@@ -86,7 +86,7 @@ int zmq::tcp_address_t::resolve_nic_name + // Find the interface with the specified name and AF_INET family. + bool found = false; + lifreq *ifrp = ifc.lifc_req; +- for (int n = 0; n < (int) (ifc.lifc_len / sizeof lifreq); ++ for (int n = 0; n < (int) (ifc.lifc_len / sizeof (lifreq)); + n ++, ifrp ++) { + if (!strcmp (nic_, ifrp->lifr_name)) { + rc = ioctl (fd, SIOCGLIFADDR, (char*) ifrp); |