summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-30 20:56:18 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-30 20:56:18 +0100
commit1a633fb03f7772fff5b1f9cf12a7baf5ef29aefe (patch)
treeb00b5ce3ca52bdc83be7da5dc7993a431715b062 /package
parenta67505baf2fc3c8b590b6886bd425ae15a6aa6d3 (diff)
add missing SSP support patches
Diffstat (limited to 'package')
-rw-r--r--package/libid3tag/patches/patch-ltmain_sh11
-rw-r--r--package/libxcb/patches/patch-ltmain_sh11
2 files changed, 22 insertions, 0 deletions
diff --git a/package/libid3tag/patches/patch-ltmain_sh b/package/libid3tag/patches/patch-ltmain_sh
new file mode 100644
index 000000000..ce09d8996
--- /dev/null
+++ b/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"`
diff --git a/package/libxcb/patches/patch-ltmain_sh b/package/libxcb/patches/patch-ltmain_sh
new file mode 100644
index 000000000..c3b2b8713
--- /dev/null
+++ b/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"