ports/141395: Fix devel/ptlib compilation for recent FreeBSD versions.
Eric L. Chen
lihong at ieee.org
Sat Dec 12 04:40:04 UTC 2009
>Number: 141395
>Category: ports
>Synopsis: Fix devel/ptlib compilation for recent FreeBSD versions.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Dec 12 04:40:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Eric L. Chen
>Release: 8-STABLE
>Organization:
National Chung Hsing University
>Environment:
FreeBSD lihong-nb 8.0-STABLE FreeBSD 8.0-STABLE #12: Fri Dec 11 22:27:58 CST 2009 root at lihong-nb:/usr/obj/usr/src/sys/LIHONG-NB i386
>Description:
Fix devel/ptlib compilation for recent FreeBSD versions.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -purN devel/ptlib/Makefile devel/ptlib.new/Makefile
--- devel/ptlib/Makefile 2009-11-02 09:44:49.000000000 +0800
+++ devel/ptlib.new/Makefile 2009-12-12 12:25:26.000000000 +0800
@@ -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 -purN devel/ptlib/files/extra-src_ptlib_unix_socket.cxx devel/ptlib.new/files/extra-src_ptlib_unix_socket.cxx
--- devel/ptlib/files/extra-src_ptlib_unix_socket.cxx 1970-01-01 08:00:00.000000000 +0800
+++ devel/ptlib.new/files/extra-src_ptlib_unix_socket.cxx 2009-12-12 12:22:50.000000000 +0800
@@ -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
+ ) {
+
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list