aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/gpac-libgpac
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2012-05-19 23:16:51 +0800
committerkwm <kwm@FreeBSD.org>2012-05-19 23:16:51 +0800
commitf293bdf23adc581a760d357516b45bdccfa39ea9 (patch)
tree0d7dbada2cebeb4d0e32442e1683ebc7393e353f /multimedia/gpac-libgpac
parent60ccb6d92e3b2096ce2dbd2a73c1053fc66e06ba (diff)
downloadfreebsd-ports-gnome-f293bdf23adc581a760d357516b45bdccfa39ea9.tar.gz
freebsd-ports-gnome-f293bdf23adc581a760d357516b45bdccfa39ea9.tar.zst
freebsd-ports-gnome-f293bdf23adc581a760d357516b45bdccfa39ea9.zip
Fix the build with gcc-4.6.
Submitted by: avg@ on multimedia@ Obtained from: https://bugs.launchpad.net/ubuntu/+source/gpac/+bug/749110
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