summaryrefslogtreecommitdiff
path: root/package/libgcrypt/libgcrypt-01-reconfigure.patch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-19 12:20:52 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-19 12:20:52 +0000
commitf1bcdf518fa7868b7819b0248f4b8da02a954dde (patch)
tree9717e9ec3bc9e7ebb8d930fd04808b98fe41b069 /package/libgcrypt/libgcrypt-01-reconfigure.patch
parent721599538656b49ccd037cdc345bba710c4cdbc7 (diff)
- fix incorrect setting of $ac_cv_sys_symbol_underscore.
There is no reason not to AC_COMPILE and use the set cross-nm to look for the symbol mangling scheme. Thus it is incorrect to check for cross compilation in the GNUPG_SYS_SYMBOL_UNDERSCORE check. - fix bug when configuring (has to wipe config.cache !)
Diffstat (limited to 'package/libgcrypt/libgcrypt-01-reconfigure.patch')
-rw-r--r--package/libgcrypt/libgcrypt-01-reconfigure.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/libgcrypt/libgcrypt-01-reconfigure.patch b/package/libgcrypt/libgcrypt-01-reconfigure.patch
new file mode 100644
index 000000000..963ae8b5a
--- /dev/null
+++ b/package/libgcrypt/libgcrypt-01-reconfigure.patch
@@ -0,0 +1,17 @@
+--- libgcrypt-1.2.4.oorig/configure 2007-09-19 13:40:48.000000000 +0200
++++ libgcrypt-1.2.4/configure 2007-09-19 13:41:44.000000000 +0200
+@@ -27370,12 +27370,13 @@
+ i386-emx-os2 | i345686-pc-os2*emx | i386-pc-msdosdjgpp)
+ ac_cv_sys_symbol_underscore=yes
+ ;;
+- *)
++ *)if test -z "$ac_cv_sys_symbol_underscore";then
+ if test "$cross_compiling" = yes; then
+ ac_cv_sys_symbol_underscore=yes
+ else
+ tmp_do_check="yes"
+ fi
++ fi
+ ;;
+ esac
+ if test "$tmp_do_check" = "yes"; then