Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.21 2015/08/28 12:52:01 he Exp $
# $NetBSD: Makefile,v 1.23 2016/04/05 14:09:26 wiz Exp $
DISTNAME= zeromq-4.1.3
DISTNAME= zeromq-4.1.4
PKGREVISION= 1
CATEGORIES= net devel
MASTER_SITES= http://download.zeromq.org/
@@ -9,10 +10,11 @@ HOMEPAGE= http://www.zeromq.org/
COMMENT= The ZeroMQ messaging library
LICENSE= gnu-lgpl-v3
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-libsodium=${BUILDLINK_PREFIX.libsodium}
PKGCONFIG_OVERRIDE+= src/libzmq.pc.in
@@ -28,11 +30,9 @@ CXXFLAGS+= -std=gnu++0x
CXXFLAGS+= -std=gnu++11
.endif
.include "../../security/libsodium/buildlink3.mk"
CONFIGURE_ARGS+= --with-libsodium=${BUILDLINK_PREFIX.libsodium}
.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
.include "../../devel/libuuid/buildlink3.mk"
.endif
.include "../../security/libsodium/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -1,7 +1,10 @@
$NetBSD: distinfo,v 1.16 2015/08/28 12:52:01 he Exp $
$NetBSD: distinfo,v 1.21 2016/04/03 00:01:30 kamil 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 (zeromq-4.1.4.tar.gz) = b632a4b6f8a14390dc17824e37ff7b10831ce2b4
RMD160 (zeromq-4.1.4.tar.gz) = 6ee27e7b1c3a978cdff670774a8363d8592c3031
SHA512 (zeromq-4.1.4.tar.gz) = 8a8cf4f52ad78dddfff104bfba0f80bbc12566920906a0fafb9fc340aa92f5577c2923cb2e5346c69835cd2ea1609647a8893c2883cd22c1f0340a720511460c
Size (zeromq-4.1.4.tar.gz) = 1400012 bytes
SHA1 (patch-configure) = 1dc8623eb06a167b3559ae950a9dbf1e19a29b6d
SHA1 (patch-src_platform.hpp.in) = 767370bd997310cddeb7ee1f759bec1a638974e0
SHA1 (patch-src_tcp__address.cpp) = ad1c1ec9b724c3bd7f0fae15c296e0ec33b4267a
SHA1 (patch-src_thread.cpp) = 84e13f025dcb9a1f700bcd13acb01bb512e500b0

View File

@@ -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);

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-src_thread.cpp,v 1.1 2016/04/03 00:01:30 kamil Exp $
--- src/thread.cpp.orig 2015-11-04 08:55:13.000000000 +0000
+++ src/thread.cpp
@@ -131,6 +131,10 @@ void zmq::thread_t::setSchedulingParamet
policy = schedulingPolicy_;
}
+#ifdef __NetBSD__
+ if(policy == SCHED_OTHER) param.sched_priority = -1;
+#endif
+
rc = pthread_setschedparam(descriptor, policy, &param);
posix_assert (rc);
#endif