Date: Fri, 22 Oct 2004 03:18:26 -0400 (EDT) From: Michael Johnson <ahze@ahze.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: lioux@FreeBSD.org Subject: ports/72993: [PATCH] multimedia/gstreamer-plugins: fix runtime of gst-register for athlon-xp Message-ID: <200410220718.i9M7IQV7035371@blueheron.ahze.net> Resent-Message-ID: <200410220720.i9M7KSnK098525@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@ahze.net mezz@ roman@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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410220718.i9M7IQV7035371>