ports/72993: [PATCH] multimedia/gstreamer-plugins: fix runtime of gst-register for athlon-xp
Michael Johnson
ahze at ahze.net
Fri Oct 22 07:20:28 UTC 2004
>Number: 72993
>Category: ports
>Synopsis: [PATCH] multimedia/gstreamer-plugins: fix runtime of gst-register for athlon-xp
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Oct 22 07:20:27 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Michael Johnson
>Release: FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD blueheron.ahze.net 5.3-STABLE FreeBSD 5.3-STABLE #68: Sat Oct 16 21:30:18 EDT 2004
>Description:
- Fix gst-register for -O -march=athlon-xp
Reported by: ahze at ahze.net
mezz@
roman at cognition.uni-freiburg.de
This is only a problem with the gstmod plugin
This is not an issue for -O2 and higher
Port maintainer (lioux at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
cd multimedia/gstreamer-plugins ; make CXXFLAGS="-O -march=athlon-xp" CFLAGS="-O -march=athlon-xp" install
watch it core dump =(
>Fix:
--- gstreamer-plugins-0.8.5.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/gstreamer-plugins/Makefile,v
retrieving revision 1.65
diff -u -r1.65 Makefile
--- Makefile 12 Oct 2004 01:35:58 -0000 1.65
+++ Makefile 22 Oct 2004 07:14:44 -0000
@@ -95,6 +95,10 @@
@${CP} ${FILESDIR}/bsdi_dvd.h ${WRKSRC}/sys/vcd/
post-patch:
+# Fix gst-register when using -O -march=athlon-xp
+ @${REINPLACE_CMD} -e 's|@CXXF|-fgcse @CXXF|g' \
+ ${WRKSRC}/gst/modplug/Makefile.in \
+ ${WRKSRC}/gst/modplug/libmodplug/Makefile.in
# as of this writing, FreeBSD does not support lrint* C99 math functions
@${REINPLACE_CMD} -E -e \
's|^#define.*LRINT.*$$||' \
--- gstreamer-plugins-0.8.5.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list