summaryrefslogtreecommitdiff
path: root/package/beecrypt
diff options
context:
space:
mode:
Diffstat (limited to 'package/beecrypt')
-rw-r--r--package/beecrypt/patches/patch-include_beecrypt_gnu_h11
-rw-r--r--package/beecrypt/patches/patch-ltmain_sh11
2 files changed, 22 insertions, 0 deletions
diff --git a/package/beecrypt/patches/patch-include_beecrypt_gnu_h b/package/beecrypt/patches/patch-include_beecrypt_gnu_h
new file mode 100644
index 000000000..41b1f5953
--- /dev/null
+++ b/package/beecrypt/patches/patch-include_beecrypt_gnu_h
@@ -0,0 +1,11 @@
+--- beecrypt-4.2.1.orig/include/beecrypt/gnu.h 2009-07-12 09:19:44.000000000 +0200
++++ beecrypt-4.2.1/include/beecrypt/gnu.h 2011-03-29 11:18:21.031808259 +0200
+@@ -72,7 +72,7 @@ typedef pthread_t bc_threadid_t;
+ * make assumptions about the size set by the configure script
+ */
+ #if !defined(MP_WBITS)
+-# define MP_WBITS 64U
++# define MP_WBITS 32U
+ #endif
+
+ #endif
diff --git a/package/beecrypt/patches/patch-ltmain_sh b/package/beecrypt/patches/patch-ltmain_sh
new file mode 100644
index 000000000..f018ba5c1
--- /dev/null
+++ b/package/beecrypt/patches/patch-ltmain_sh
@@ -0,0 +1,11 @@
+--- beecrypt-4.2.1.orig/ltmain.sh 2009-07-11 18:02:10.000000000 +0200
++++ beecrypt-4.2.1/ltmain.sh 2011-03-29 11:27:09.431818481 +0200
+@@ -4772,7 +4772,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"