Date: Sat, 17 Dec 2011 07:19:31 +0900 From: Jan Beich <jbeich@tormail.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/163368: [patch] audio/id3lib: unbreak build with clang/gcc46 Message-ID: <1Rbg8Y-0008PA-9V@internal.tormail.net> Resent-Message-ID: <201112162230.pBGMUI3E037208@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <cstring>/; n;n;n; }' \ + ${WRKSRC}/include/id3/id3lib_strings.h \ + ${WRKSRC}/include/id3/writers.h + .include <bsd.port.mk> --- gcc43.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1Rbg8Y-0008PA-9V>