pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/zeromq Deal with the kqueue type change in NetBSD.
details: https://anonhg.NetBSD.org/pkgsrc/rev/b6b961c6d971
branches: trunk
changeset: 345861:b6b961c6d971
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Dec 19 22:21:57 2019 +0000
description:
Deal with the kqueue type change in NetBSD.
diffstat:
net/zeromq/distinfo | 3 ++-
net/zeromq/patches/patch-src_kqueue.cpp | 23 +++++++++++++++++++++++
2 files changed, 25 insertions(+), 1 deletions(-)
diffs (41 lines):
diff -r 97edf6d2dc14 -r b6b961c6d971 net/zeromq/distinfo
--- a/net/zeromq/distinfo Thu Dec 19 22:21:24 2019 +0000
+++ b/net/zeromq/distinfo Thu Dec 19 22:21:57 2019 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.29 2019/08/09 12:01:34 adam Exp $
+$NetBSD: distinfo,v 1.30 2019/12/19 22:21:57 joerg Exp $
SHA1 (zeromq-4.3.2.tar.gz) = e5253bff214f77621b3d29443f1aa6e5a106ffe5
RMD160 (zeromq-4.3.2.tar.gz) = 01621ad7d28f7eb2de939441bd1b4f2c21fb3663
SHA512 (zeromq-4.3.2.tar.gz) = b6251641e884181db9e6b0b705cced7ea4038d404bdae812ff47bdd0eed12510b6af6846b85cb96898e253ccbac71eca7fe588673300ddb9c3109c973250c8e4
Size (zeromq-4.3.2.tar.gz) = 1697442 bytes
SHA1 (patch-src_ipc__listener.cpp) = 08b79008e5c331e6cb603244a91abddc55454678
+SHA1 (patch-src_kqueue.cpp) = b0313bf68e3c8b906a2770f625b6706f40fc0530
SHA1 (patch-src_tcp__listener.cpp) = 8960a2f5e4d59aa8e4e5fd29a4770e9d1b04a21a
diff -r 97edf6d2dc14 -r b6b961c6d971 net/zeromq/patches/patch-src_kqueue.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/zeromq/patches/patch-src_kqueue.cpp Thu Dec 19 22:21:57 2019 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-src_kqueue.cpp,v 1.1 2019/12/19 22:21:57 joerg Exp $
+
+--- src/kqueue.cpp.orig 2019-12-19 14:32:14.474104176 +0000
++++ src/kqueue.cpp
+@@ -46,10 +46,15 @@
+ #include "i_poll_events.hpp"
+ #include "likely.hpp"
+
+-// NetBSD defines (struct kevent).udata as intptr_t, everyone else
+-// as void *.
++// NetBSD before 9.99.15 defined (struct kevent).udata as intptr_t,
++// everyone else as void *.
+ #if defined ZMQ_HAVE_NETBSD
+-#define kevent_udata_t intptr_t
++# include <sys/param.h>
++# if __NetBSD_Version__ < 999001500
++# define kevent_udata_t intptr_t
++# else
++# define kevent_udata_t void *
++# endif
+ #else
+ #define kevent_udata_t void *
+ #endif
Home |
Main Index |
Thread Index |
Old Index