summaryrefslogtreecommitdiff
path: root/data/gnupg2/gnupth.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-01-01 13:29:32 +0000
committerJay Freeman <saurik@saurik.com>2008-01-01 13:29:32 +0000
commit81f9fdd7221a3bd7e1e5f2cbf8b5698d1a99ff10 (patch)
tree68c19e664707e6502abbecac60be7bd0180ddda5 /data/gnupg2/gnupth.diff
parent1927b67af64514cb7813468f23010684e0ef1d2b (diff)
Added many more packages (gnupg and friends), fixed repository signing, ported vim to Darwin 10.5, and added a better set of default scripts for package construction.
git-svn-id: http://svn.telesphoreo.org/trunk@5 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/gnupg2/gnupth.diff')
-rw-r--r--data/gnupg2/gnupth.diff28
1 files changed, 28 insertions, 0 deletions
diff --git a/data/gnupg2/gnupth.diff b/data/gnupg2/gnupth.diff
new file mode 100644
index 000000000..aa46248cb
--- /dev/null
+++ b/data/gnupg2/gnupth.diff
@@ -0,0 +1,28 @@
+diff -r -u gnupg-2.0.8/m4/gnupg-pth.m4 gnupg-2.0.8+iPhone/m4/gnupg-pth.m4
+--- gnupg-2.0.8/m4/gnupg-pth.m4 2007-05-30 10:40:00.000000000 +0000
++++ gnupg-2.0.8+iPhone/m4/gnupg-pth.m4 2008-01-01 11:49:03.000000000 +0000
+@@ -51,9 +51,9 @@
+ _gnupg_pth_save_cflags=$CFLAGS
+ _gnupg_pth_save_ldflags=$LDFLAGS
+ _gnupg_pth_save_libs=$LIBS
+- CFLAGS="$CFLAGS `$PTH_CONFIG --cflags`"
+- LDFLAGS="$LDFLAGS `$PTH_CONFIG --ldflags`"
+- LIBS="$LIBS `$PTH_CONFIG --libs --all`"
++ CFLAGS=
++ LDFLAGS=
++ LIBS=-lpth
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pth.h>
+ ],
+ [[ pth_init ();]])],
+@@ -92,9 +92,8 @@
+ if test "$PTH_CONFIG" != "no"; then
+ GNUPG_PTH_VERSION_CHECK($tmp)
+ if test $have_pth = yes; then
+- PTH_CFLAGS=`$PTH_CONFIG --cflags`
+- PTH_LIBS=`$PTH_CONFIG --ldflags`
+- PTH_LIBS="$PTH_LIBS `$PTH_CONFIG --libs --all`"
++ PTH_CFLAGS=
++ PTH_LIBS=-lpth
+ AC_DEFINE(HAVE_PTH, 1,
+ [Defined if the GNU Pth is available])
+ fi