From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Feb 9 21:00:14 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 939A91065670 for ; Mon, 9 Feb 2009 21:00:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6908A8FC1C for ; Mon, 9 Feb 2009 21:00:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n19L01FC061470 for ; Mon, 9 Feb 2009 21:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n19L01Tw061469; Mon, 9 Feb 2009 21:00:01 GMT (envelope-from gnats) Resent-Date: Mon, 9 Feb 2009 21:00:01 GMT Resent-Message-Id: <200902092100.n19L01Tw061469@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Steve Ames Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09060106566B for ; Mon, 9 Feb 2009 20:52:30 +0000 (UTC) (envelope-from steve@energistic.com) Received: from energistic.com (mail.energistic.com [216.54.148.60]) by mx1.freebsd.org (Postfix) with ESMTP id B02BB8FC0C for ; Mon, 9 Feb 2009 20:52:29 +0000 (UTC) (envelope-from steve@energistic.com) Received: from energistic.com (localhost [127.0.0.1]) by energistic.com (8.14.3/8.14.2) with ESMTP id n19KUkXC052923 for ; Mon, 9 Feb 2009 15:30:46 -0500 (EST) (envelope-from steve@energistic.com) Received: (from steve@localhost) by energistic.com (8.14.3/8.14.2/Submit) id n19KUkML050097; Mon, 9 Feb 2009 15:30:46 -0500 (EST) (envelope-from steve) Message-Id: <200902092030.n19KUkML050097@energistic.com> Date: Mon, 9 Feb 2009 15:30:46 -0500 (EST) From: Steve Ames To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/131540: fix devel/pwlib compiling on 8.X after RTF_WASCLONES removal X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Steve Ames List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 21:00:14 -0000 >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 -.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: