Date: Mon, 9 Feb 2009 15:30:46 -0500 (EST) From: Steve Ames <steve@energistic.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/131540: fix devel/pwlib compiling on 8.X after RTF_WASCLONES removal Message-ID: <200902092030.n19KUkML050097@energistic.com> Resent-Message-ID: <200902092100.n19L01Tw061469@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 131540 >Category: ports >Synopsis: fix devel/pwlib compiling on 8.X after RTF_WASCLONES removal >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: Mon Feb 09 21:00:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Steve Ames >Release: FreeBSD 8.0-CURRENT i386 >Organization: >Environment: System: FreeBSD energistic.com 7.1-STABLE FreeBSD 7.1-STABLE #128: Mon Jan 5 19:22:14 EST 2009 steve@energistic.com:/usr/obj/usr/src/sys/VV i386 >Description: After the RFT_WASCLONES removed in FreeBSD 8-CURRENT, devel/pwlib could no longer compile. This small patch corrects this. >How-To-Repeat: >Fix: Apply the following patch (also found at http://steve.energistic.com/h323-ports/pwlib-1.12.0.5.patch diff -ruN pwlib/Makefile pwlib.new/Makefile --- pwlib/Makefile 2009-01-08 13:09:45.000000000 -0500 +++ pwlib.new/Makefile 2009-02-09 20:07:32.000000000 -0500 @@ -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 @@ .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 -ruN pwlib/files/patch-src_ptlib_unix_socket.cxx pwlib.new/files/patch-src_ptlib_unix_socket.cxx --- pwlib/files/patch-src_ptlib_unix_socket.cxx 1969-12-31 19:00:00.000000000 -0500 +++ pwlib.new/files/patch-src_ptlib_unix_socket.cxx 2009-02-09 20:07:19.000000000 -0500 @@ -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! >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902092030.n19KUkML050097>