aboutsummaryrefslogtreecommitdiff
path: root/devel/pwlib
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-02-09 21:58:03 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-02-09 21:58:03 +0000
commit23e2ca442a2e72f1d2d0ee5d2c364c67e9fffc0c (patch)
tree065042b8641aa2cb78829657a142adb1da37a070 /devel/pwlib
parent953f777315bd22de7139734debe760d76ae8cba1 (diff)
downloadports-23e2ca442a2e72f1d2d0ee5d2c364c67e9fffc0c.tar.gz
ports-23e2ca442a2e72f1d2d0ee5d2c364c67e9fffc0c.zip
Notes
Diffstat (limited to 'devel/pwlib')
-rw-r--r--devel/pwlib/Makefile5
-rw-r--r--devel/pwlib/files/patch-src_ptlib_unix_socket.cxx11
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!