Date: Wed, 10 Feb 2010 22:52:54 GMT From: Rob Farmer <rfarmer@predatorlabs.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/143741: [PATCH] audio/libmad Fix build with new GCC Message-ID: <201002102252.o1AMqsuu039503@www.freebsd.org> Resent-Message-ID: <201002110141.o1B1fN36059964@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 143741 >Category: ports >Synopsis: [PATCH] audio/libmad Fix build with new GCC >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Feb 11 01:41:22 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Rob Farmer >Release: 9.0-CURRENT >Organization: >Environment: FreeBSD coretwo.predatorlabs.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r203695: Tue Feb 9 03:02:13 PST 2010 rfarmer@coretwo.predatorlabs.net:/usr/obj/usr/src/sys/CORETWO amd64 >Description: The configure script sets the CFLAG -fforce-mem which does nothing with the base system GCC and is an error in newer GCC. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/audio/libmad/Makefile,v retrieving revision 1.15 diff -u -r1.15 Makefile --- Makefile 22 Aug 2009 00:13:10 -0000 1.15 +++ Makefile 10 Feb 2010 07:16:50 -0000 @@ -31,6 +31,7 @@ post-patch: @${SED} -e 's|%PREFIX%|${PREFIX}|g ; s|%VERSION%|${PORTVERSION}|g' \ ${FILESDIR}/mad.pc.in > ${WRKDIR}/mad.pc + @${REINPLACE_CMD} -e 19103d ${WRKSRC}/configure post-install: ${MKDIR} ${PREFIX}/libdata/pkgconfig >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002102252.o1AMqsuu039503>