aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gpac-libgpac
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2012-05-19 15:16:51 +0000
committerKoop Mast <kwm@FreeBSD.org>2012-05-19 15:16:51 +0000
commitc33bd7a0600c3f9bf0b0e27d7a2529d267d31e84 (patch)
tree7d80ba137a072e19f5ea6907f823c97b804aa14d /multimedia/gpac-libgpac
parent9c7fc4df8c42d77b2089c4361be27f8aa2965bb3 (diff)
downloadports-c33bd7a0600c3f9bf0b0e27d7a2529d267d31e84.tar.gz
ports-c33bd7a0600c3f9bf0b0e27d7a2529d267d31e84.zip
Fix the build with gcc-4.6.
Submitted by: avg@ on multimedia@ Obtained from: https://bugs.launchpad.net/ubuntu/+source/gpac/+bug/749110
Notes
Notes: svn path=/head/; revision=296964
Diffstat (limited to 'multimedia/gpac-libgpac')
-rw-r--r--multimedia/gpac-libgpac/files/patch-configure13
1 files changed, 11 insertions, 2 deletions
diff --git a/multimedia/gpac-libgpac/files/patch-configure b/multimedia/gpac-libgpac/files/patch-configure
index 1054925d4691..36fc80127851 100644
--- a/multimedia/gpac-libgpac/files/patch-configure
+++ b/multimedia/gpac-libgpac/files/patch-configure
@@ -1,5 +1,5 @@
---- configure.orig 2008-12-02 13:04:42.000000000 -0500
-+++ configure 2009-02-19 15:16:18.000000000 -0500
+--- configure.orig 2008-12-02 19:04:42.000000000 +0100
++++ configure 2012-05-19 17:09:20.000000000 +0200
@@ -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