Date: Tue, 18 Oct 2011 16:39:25 -0400 From: "Christian Mangin" <cmangin@arobas.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/161783: [PATCH] multimedia/gpac-libgpac: Fix build with gcc46 Message-ID: <201110182039.p9IKdPau021260@mx3.b2b2c.ca> Resent-Message-ID: <201110182100.p9IL0JXB045671@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 161783 >Category: ports >Synopsis: [PATCH] multimedia/gpac-libgpac: Fix build with gcc46 >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: Tue Oct 18 21:00:19 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Christian Mangin >Release: FreeBSD 8.2-STABLE amd64 >Organization: >Environment: System: FreeBSD titan 8.2-STABLE FreeBSD 8.2-STABLE #5: Thu Oct 6 12:36:11 EDT 2011 cmangin@titan:/usr/obj/usr/src/sys/TITAN amd64 >Description: The port fails to build with USE_GCC=4.6. >How-To-Repeat: >Fix: Patch attached with submission. --- patch.gpac-libgpac begins here --- diff -ruN gpac-libgpac.orig/files/patch-configure gpac-libgpac/files/patch-configure --- gpac-libgpac.orig/files/patch-configure 2009-02-19 18:20:57.000000000 -0500 +++ gpac-libgpac/files/patch-configure 2011-10-18 14:17:53.941723000 -0400 @@ -1,5 +1,5 @@ --- configure.orig 2008-12-02 13:04:42.000000000 -0500 -+++ configure 2009-02-19 15:16:18.000000000 -0500 ++++ configure 2011-10-18 14:16:16.365803579 -0400 @@ -33,6 +33,7 @@ make="make" strip="strip" @@ -8,6 +8,15 @@ debuginfo="no" sdl_path="" sdl_local="no" +@@ -102,7 +103,7 @@ + bigendian="no" + SHFLAGS=-shared + need_inet_aton="no" +-LDFLAGS="$LDFLAGS -Wl --warn-common" ++LDFLAGS="$LDFLAGS -Wl,--warn-common" + CFLAGS="" + CPPFLAGS="" + GPAC_SH_FLAGS=-lpthread @@ -222,7 +223,9 @@ if [ x"$canon_arch" = x"x86_64" -o x"$canon_arch" = x"amd64" ]; then if [ -z "`echo $CFLAGS | grep -- -m32`" ]; then --- patch.gpac-libgpac ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110182039.p9IKdPau021260>