From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 28 21:00:06 2007 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 E6CC716A46B for ; Fri, 28 Dec 2007 21:00:05 +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 AD19413C4D1 for ; Fri, 28 Dec 2007 21:00:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBSL05Wh065218 for ; Fri, 28 Dec 2007 21:00:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBSL051l065217; Fri, 28 Dec 2007 21:00:05 GMT (envelope-from gnats) Resent-Date: Fri, 28 Dec 2007 21:00:05 GMT Resent-Message-Id: <200712282100.lBSL051l065217@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, Josh Carroll Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D72616A419 for ; Fri, 28 Dec 2007 20:51:46 +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 6DC1813C442 for ; Fri, 28 Dec 2007 20:51:46 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lBSKp6ti030975 for ; Fri, 28 Dec 2007 20:51:06 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id lBSKp6Gi030974; Fri, 28 Dec 2007 20:51:06 GMT (envelope-from nobody) Message-Id: <200712282051.lBSKp6Gi030974@www.freebsd.org> Date: Fri, 28 Dec 2007 20:51:06 GMT From: Josh Carroll To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/119120: Request to update devel/upnp to 1.6.3 which compiles properly on 7.x amd64 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: Fri, 28 Dec 2007 21:00:06 -0000 >Number: 119120 >Category: ports >Synopsis: Request to update devel/upnp to 1.6.3 which compiles properly on 7.x amd64 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Dec 28 21:00:05 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Josh Carroll >Release: 7.0-RC1 >Organization: n/a >Environment: FreeBSD pflog.net 7.0-RC1 FreeBSD 7.0-RC1 #0: Sun Dec 23 21:03:36 EST 2007 root@pflog.net:/usr/obj/usr/src/sys/PFLOG amd64 >Description: The 1.6.0 release of the devel/upnp port does not compile properly on the amd64 release of 7.x, due to the use of ftime(3) which requires libcompat. This won't compile due to a relocation error. I submitted a patch to the upstream source, which has been included in the 1.6.3 release of libupnp, which uses gettimeofday(2) instead of ftime. This release compiles properly on amd64/RELENG_7_0 and works properly. I would like to request the devel/upnp port be bumped to the 1.6.3 release. Attached is a patch against the existing upnp port to bring it up to 1.6.3, including some minor changes to pkg-plist. Thanks! Josh >How-To-Repeat: n/a >Fix: Patch attached. Patch attached with submission follows: diff -urN upnp/Makefile upnp.new/Makefile --- upnp/Makefile 2007-10-24 23:25:52.000000000 -0400 +++ upnp.new/Makefile 2007-12-28 15:38:52.000000000 -0500 @@ -6,8 +6,7 @@ # PORTNAME= upnp -PORTVERSION= 1.6.0 -PORTEPOCH= 1 +PORTVERSION= 1.6.3 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pupnp @@ -25,14 +24,8 @@ .include -.if ${OSVERSION} >= 700042 -.if ${ARCH} == "amd64" || ${ARCH} == "sparc64" -BROKEN= Does not compile with GCC 4.2 -.endif -.endif - MAKE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS} -CONFIGURE_ENV+= LIBS="-llwres -lcompat" +CONFIGURE_ENV+= LIBS="-llwres" .if defined(NOPORTDOCS) CONFIGURE_ARGS= --without-documentation diff -urN upnp/distinfo upnp.new/distinfo --- upnp/distinfo 2007-07-09 09:04:35.000000000 -0400 +++ upnp.new/distinfo 2007-12-28 15:36:16.000000000 -0500 @@ -1,3 +1,4 @@ -MD5 (libupnp-1.6.0.tar.bz2) = 3185b3fd9d7e8f5a3d29314e8d369c66 -SHA256 (libupnp-1.6.0.tar.bz2) = 447ef98ebdb42847b88acc7b222d36e1caeb6ead87f8f1821ed7a8dffb3c5114 -SIZE (libupnp-1.6.0.tar.bz2) = 1135997 +MD5 (libupnp-1.6.3.tar.bz2) = 553f3491fe4da88aba1763497730e2c0 +SHA256 (libupnp-1.6.3.tar.bz2) = 79b76de19f67b4dc4c420c9200e7b2dd4c6e0916a3637f6aad21e035fa89cf3a +SIZE (libupnp-1.6.3.tar.bz2) = 1136813 + diff -urN upnp/pkg-plist upnp.new/pkg-plist --- upnp/pkg-plist 2007-07-09 09:04:35.000000000 -0400 +++ upnp.new/pkg-plist 2007-12-28 15:40:31.000000000 -0500 @@ -2,7 +2,6 @@ include/upnp/LinkedList.h include/upnp/ThreadPool.h include/upnp/TimerThread.h -include/upnp/iasnprintf.h include/upnp/ithread.h include/upnp/ixml.h include/upnp/upnp.h @@ -16,7 +15,7 @@ lib/libthreadutil.a lib/libthreadutil.la lib/libthreadutil.so -lib/libthreadutil.so.3 +lib/libthreadutil.so.4 lib/libupnp.a lib/libupnp.la lib/libupnp.so >Release-Note: >Audit-Trail: >Unformatted: