diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2009-02-09 21:58:03 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2009-02-09 21:58:03 +0000 |
commit | 23e2ca442a2e72f1d2d0ee5d2c364c67e9fffc0c (patch) | |
tree | 065042b8641aa2cb78829657a142adb1da37a070 /devel/pwlib | |
parent | 953f777315bd22de7139734debe760d76ae8cba1 (diff) |
- Unbreak
- Fix build on 8.X after RTF_WASCLONES removal
PR: 131540
Submitted by: Steve Ames <steve@energistic.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=227958
Diffstat (limited to 'devel/pwlib')
-rw-r--r-- | devel/pwlib/Makefile | 5 | ||||
-rw-r--r-- | devel/pwlib/files/patch-src_ptlib_unix_socket.cxx | 11 |
2 files changed, 12 insertions, 4 deletions
diff --git a/devel/pwlib/Makefile b/devel/pwlib/Makefile index 883cfbc9111d..13ff930316ea 100644 --- a/devel/pwlib/Makefile +++ b/devel/pwlib/Makefile @@ -7,7 +7,7 @@ PORTNAME= pwlib PORTVERSION= 1.12.0 -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} @@ -32,9 +32,6 @@ USE_LDCONFIG= yes .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 800059 -BROKEN= does not build -.endif CFLAGS= -O1 CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -O1 -I${WRKSRC}/include -I${LOCALBASE}/include" \ diff --git a/devel/pwlib/files/patch-src_ptlib_unix_socket.cxx b/devel/pwlib/files/patch-src_ptlib_unix_socket.cxx new file mode 100644 index 000000000000..9995af708bab --- /dev/null +++ b/devel/pwlib/files/patch-src_ptlib_unix_socket.cxx @@ -0,0 +1,11 @@ +--- src/ptlib/unix/socket.cxx.old 2007-10-19 02:22:32.000000000 -0400 ++++ src/ptlib/unix/socket.cxx 2009-02-09 20:05:59.000000000 -0500 +@@ -1446,7 +1446,7 @@ + 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) ++#elif !defined(P_OPENBSD) && defined(RTF_WASCLONED) + && (~rtm->rtm_flags&RTF_WASCLONED) // Free BSD/MAC has it another + #else + // Open BSD does not have it at all! |