summaryrefslogtreecommitdiff
path: root/package/libX11/patches/patch-ltmain_sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/libX11/patches/patch-ltmain_sh')
-rw-r--r--package/libX11/patches/patch-ltmain_sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/package/libX11/patches/patch-ltmain_sh b/package/libX11/patches/patch-ltmain_sh
index d88493e60..19c2fa84b 100644
--- a/package/libX11/patches/patch-ltmain_sh
+++ b/package/libX11/patches/patch-ltmain_sh
@@ -1,11 +1,11 @@
---- libX11-1.3.2.orig/ltmain.sh 2009-10-17 07:26:21.000000000 +0200
-+++ libX11-1.3.2/ltmain.sh 2011-01-14 00:51:57.000000000 +0100
-@@ -1676,7 +1676,7 @@ EOF
- # -F/path gives path to uninstalled frameworks, gcc on darwin
- # @file GCC response files
+--- libX11-1.4.0.orig/ltmain.sh 2010-11-21 23:15:51.000000000 +0100
++++ libX11-1.4.0/ltmain.sh 2011-01-24 16:20:51.000000000 +0100
+@@ -5840,7 +5840,7 @@ func_mode_link ()
+ # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
-64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
-- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
-+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto)
-
- # Unknown arguments in both finalize_command and compile_command need
- # to be aesthetically quoted because they are evaled later.
+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
+- -O*|-flto*|-fwhopr*|-fuse-linker-plugin)
++ -O*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*)
+ func_quote_for_eval "$arg"
+ arg="$func_quote_for_eval_result"
+ func_append compile_command " $arg"