diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2009-12-18 20:07:35 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2009-12-18 20:07:35 +0000 |
commit | 7da032ee6316eee251eec02cbc32f953f0c77ed0 (patch) | |
tree | 13b6688fd4b7f9edf4acbb151bb0443eb956983a /devel/ptlib | |
parent | 350cccb3a3352d9ca0c7ccb9638b2c51b21e2cbc (diff) |
Notes
Diffstat (limited to 'devel/ptlib')
-rw-r--r-- | devel/ptlib/Makefile | 2 | ||||
-rw-r--r-- | devel/ptlib/files/extra-src_ptlib_unix_socket.cxx | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/devel/ptlib/Makefile b/devel/ptlib/Makefile index a3da6115efff..09b1a43f5bf9 100644 --- a/devel/ptlib/Makefile +++ b/devel/ptlib/Makefile @@ -31,7 +31,7 @@ NO_LATEST_LINK= yes .include <bsd.port.pre.mk> .if ${OSVERSION} >= 800059 -BROKEN= does not build +EXTRA_PATCHES= ${FILESDIR}/extra-src_ptlib_unix_socket.cxx .endif CONFIGURE_ENV= \ diff --git a/devel/ptlib/files/extra-src_ptlib_unix_socket.cxx b/devel/ptlib/files/extra-src_ptlib_unix_socket.cxx new file mode 100644 index 000000000000..733c579b31d8 --- /dev/null +++ b/devel/ptlib/files/extra-src_ptlib_unix_socket.cxx @@ -0,0 +1,13 @@ +--- src/ptlib/unix/socket.cxx.orig 2009-12-12 11:42:03.000000000 +0800 ++++ src/ptlib/unix/socket.cxx 2009-12-12 11:46:09.000000000 +0800 +@@ -1144,10 +1144,6 @@ PBoolean process_rtentry(struct rt_msghd + if ((~rtm->rtm_flags&RTF_LLINFO) + #if defined(P_NETBSD) || defined(P_QNX) + && (~rtm->rtm_flags&RTF_CLONED) // Net BSD has flag one way +-#elif !defined(P_OPENBSD) +- && (~rtm->rtm_flags&RTF_WASCLONED) // Free BSD/MAC has it another +-#else +- // Open BSD does not have it at all! + #endif + ) { + |