From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Oct 22 07:20:28 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AEC816A4CE for ; Fri, 22 Oct 2004 07:20:28 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B00E43D48 for ; Fri, 22 Oct 2004 07:20:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i9M7KSwn098526 for ; Fri, 22 Oct 2004 07:20:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9M7KSnK098525; Fri, 22 Oct 2004 07:20:28 GMT (envelope-from gnats) Resent-Date: Fri, 22 Oct 2004 07:20:28 GMT Resent-Message-Id: <200410220720.i9M7KSnK098525@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michael Johnson Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E68F716A4CE; Fri, 22 Oct 2004 07:18:27 +0000 (GMT) Received: from imf20aec.mail.bellsouth.net (imf20aec.mail.bellsouth.net [205.152.59.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57E4A43D45; Fri, 22 Oct 2004 07:18:27 +0000 (GMT) (envelope-from ahze@blueheron.ahze.net) Received: from blueheron.ahze.net ([68.209.163.3]) by imf20aec.mail.bellsouth.netESMTP <20041022071826.UDHD2350.imf20aec.mail.bellsouth.net@blueheron.ahze.net>; Fri, 22 Oct 2004 03:18:26 -0400 Received: (from root@localhost) by blueheron.ahze.net (8.13.1/8.13.1/Submit) id i9M7IQV7035371; Fri, 22 Oct 2004 03:18:26 -0400 (EDT) (envelope-from ahze) Message-Id: <200410220718.i9M7IQV7035371@blueheron.ahze.net> Date: Fri, 22 Oct 2004 03:18:26 -0400 (EDT) From: Michael Johnson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: lioux@FreeBSD.org Subject: ports/72993: [PATCH] multimedia/gstreamer-plugins: fix runtime of gst-register for athlon-xp X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Oct 2004 07:20:28 -0000 >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: