diff options
Diffstat (limited to 'meta-pkgs/boost/patches/patch-ai')
-rw-r--r-- | meta-pkgs/boost/patches/patch-ai | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-pkgs/boost/patches/patch-ai b/meta-pkgs/boost/patches/patch-ai new file mode 100644 index 00000000000..80c893e5787 --- /dev/null +++ b/meta-pkgs/boost/patches/patch-ai @@ -0,0 +1,30 @@ +$NetBSD: patch-ai,v 1.3 2011/11/06 21:54:32 tnn Exp $ + +https://svn.boost.org/trac/boost/ticket/6098 + +--- boost/asio/detail/impl/kqueue_reactor.ipp.orig 2011-11-06 17:01:14.000000000 +0000 ++++ boost/asio/detail/impl/kqueue_reactor.ipp +@@ -289,9 +289,9 @@ void kqueue_reactor::deregister_descript + { + struct kevent events[2]; + BOOST_ASIO_KQUEUE_EV_SET(&events[0], descriptor, +- EVFILT_READ, EV_DELETE, 0, 0, 0); ++ EVFILT_READ, EV_DELETE, 0, 0, (void*)0); + BOOST_ASIO_KQUEUE_EV_SET(&events[1], descriptor, +- EVFILT_WRITE, EV_DELETE, 0, 0, 0); ++ EVFILT_WRITE, EV_DELETE, 0, 0, (void*)0); + ::kevent(kqueue_fd_, events, 2, 0, 0, 0); + } + +@@ -333,9 +333,9 @@ void kqueue_reactor::deregister_internal + { + struct kevent events[2]; + BOOST_ASIO_KQUEUE_EV_SET(&events[0], descriptor, +- EVFILT_READ, EV_DELETE, 0, 0, 0); ++ EVFILT_READ, EV_DELETE, 0, 0, (void*)0); + BOOST_ASIO_KQUEUE_EV_SET(&events[1], descriptor, +- EVFILT_WRITE, EV_DELETE, 0, 0, 0); ++ EVFILT_WRITE, EV_DELETE, 0, 0, (void*)0); + ::kevent(kqueue_fd_, events, 2, 0, 0, 0); + + op_queue<operation> ops; |