ports/143741: [PATCH] audio/libmad Fix build with new GCC
Rob Farmer
rfarmer at predatorlabs.net
Thu Feb 11 01:41:38 UTC 2010
>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 at 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:
More information about the freebsd-ports-bugs
mailing list