Browse Source

add missing SSP support patches

Waldemar Brodkorb 14 years ago
parent
commit
1a633fb03f
2 changed files with 22 additions and 0 deletions
  1. 11 0
      package/libid3tag/patches/patch-ltmain_sh
  2. 11 0
      package/libxcb/patches/patch-ltmain_sh

+ 11 - 0
package/libid3tag/patches/patch-ltmain_sh

@@ -0,0 +1,11 @@
+--- libid3tag-0.15.1b.orig/ltmain.sh	2004-02-17 02:52:36.000000000 +0100
++++ libid3tag-0.15.1b/ltmain.sh	2011-01-30 18:49:04.000000000 +0100
+@@ -1372,7 +1372,7 @@ EOF
+       # but this is not reliable with gcc because gcc may use -mfoo to
+       # select a different linker, different libraries, etc, while
+       # -Wl,-mfoo simply passes -mfoo to the linker.
+-      -m*)
++      -m*|-fstack-protector*|-flto)
+ 	# Unknown arguments in both finalize_command and compile_command need
+ 	# to be aesthetically quoted because they are evaled later.
+ 	arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`

+ 11 - 0
package/libxcb/patches/patch-ltmain_sh

@@ -0,0 +1,11 @@
+--- libxcb-1.7.orig/ltmain.sh	2010-08-13 13:46:48.000000000 +0200
++++ libxcb-1.7/ltmain.sh	2011-01-30 18:41:38.000000000 +0100
+@@ -4765,7 +4765,7 @@ func_mode_link ()
+       # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
+       # @file GCC response files
+       -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)
+         func_quote_for_eval "$arg"
+ 	arg="$func_quote_for_eval_result"
+         func_append compile_command " $arg"