From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Dec 12 04:40:04 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 A6EA6106568F for ; Sat, 12 Dec 2009 04:40:04 +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 822798FC18 for ; Sat, 12 Dec 2009 04:40:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBC4e4Bl006347 for ; Sat, 12 Dec 2009 04:40:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBC4e4fc006337; Sat, 12 Dec 2009 04:40:04 GMT (envelope-from gnats) Resent-Date: Sat, 12 Dec 2009 04:40:04 GMT Resent-Message-Id: <200912120440.nBC4e4fc006337@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, "Eric L. Chen" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E45281065676 for ; Sat, 12 Dec 2009 04:38:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id BFC6B8FC14 for ; Sat, 12 Dec 2009 04:38:25 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nBC4cPrE002708 for ; Sat, 12 Dec 2009 04:38:25 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nBC4cP1r002707; Sat, 12 Dec 2009 04:38:25 GMT (envelope-from nobody) Message-Id: <200912120438.nBC4cP1r002707@www.freebsd.org> Date: Sat, 12 Dec 2009 04:38:25 GMT From: "Eric L. Chen" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/141395: Fix devel/ptlib compilation for recent FreeBSD versions. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Dec 2009 04:40:04 -0000 >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@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 .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: