From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 16 22:30:19 2011 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 32244106566C for ; Fri, 16 Dec 2011 22:30:19 +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 E6B1A8FC0C for ; Fri, 16 Dec 2011 22:30:18 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBGMUIaX037211 for ; Fri, 16 Dec 2011 22:30:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBGMUI3E037208; Fri, 16 Dec 2011 22:30:18 GMT (envelope-from gnats) Resent-Date: Fri, 16 Dec 2011 22:30:18 GMT Resent-Message-Id: <201112162230.pBGMUI3E037208@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, Jan Beich Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02C48106564A for ; Fri, 16 Dec 2011 22:21:34 +0000 (UTC) (envelope-from jbeich@tormail.net) Received: from server2.hudsonvalleyhost.com (server2.hudsonvalleyhost.com [66.7.195.77]) by mx1.freebsd.org (Postfix) with ESMTP id B3C498FC0A for ; Fri, 16 Dec 2011 22:21:33 +0000 (UTC) Received: from saeed.torservers.net ([173.254.192.37]:23850 helo=internal.tormail.net) by server2.hudsonvalleyhost.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.69) (envelope-from ) id 1Rbg9e-001Iyx-Gl for FreeBSD-gnats-submit@freebsd.org; Fri, 16 Dec 2011 17:21:33 -0500 Received: from jbeich by internal.tormail.net with local (Exim 4.63) (envelope-from ) id 1Rbg8Y-0008PA-9V for FreeBSD-gnats-submit@freebsd.org; Fri, 16 Dec 2011 22:20:24 +0000 Message-Id: <1Rbg8Y-0008PA-9V@internal.tormail.net> Date: Sat, 17 Dec 2011 07:19:31 +0900 From: Jan Beich To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/163368: [patch] audio/id3lib: unbreak build with clang/gcc46 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, 16 Dec 2011 22:30:19 -0000 >Number: 163368 >Category: ports >Synopsis: [patch] audio/id3lib: unbreak build with clang/gcc46 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 16 22:30:18 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jan Beich >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: >Description: Merge gcc43 fixes from id3lib-devel CVS. >How-To-Repeat: http://pointyhat-west.isc.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp-clang.20111215000124.pointyhat-west/id3lib-3.8.3_5.log http://rainbow-runner.nl/clang/patches/id3lib-clang.diff http://sourceforge.net/tracker/?func=detail&aid=1953610&group_id=979&atid=100979 >Fix: --- gcc43.diff begins here --- Index: audio/id3lib/Makefile =================================================================== RCS file: /a/.csup/ports/audio/id3lib/Makefile,v retrieving revision 1.31 diff -u -p -r1.31 Makefile --- audio/id3lib/Makefile 23 Sep 2011 22:21:03 -0000 1.31 +++ audio/id3lib/Makefile 16 Dec 2011 22:13:16 -0000 @@ -25,4 +25,12 @@ LDFLAGS+= -L${LOCALBASE}/lib post-extract: @${RM} -rf ${WRKSRC}/zlib +post-patch: + @${REINPLACE_CMD} '/main/s/unsigned int/int/' \ + ${WRKSRC}/examples/demo_*.cpp + @${REINPLACE_CMD} 's/\(iomanip\)\.h/\1/' ${WRKSRC}/configure + @${REINPLACE_CMD} '/include.*/{ p; s//include /; n;n;n; }' \ + ${WRKSRC}/include/id3/id3lib_strings.h \ + ${WRKSRC}/include/id3/writers.h + .include --- gcc43.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: