summaryrefslogtreecommitdiffstats
path: root/gnupg-gpg1.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-06-10 07:06:04 +0200
committerRemi Collet <fedora@famillecollet.com>2012-06-10 07:06:04 +0200
commitc19c096a1381da06d33b66ec326e4de2f45ffcf2 (patch)
treeed4e37083b4a12f2ce63be44ae6be42301e65bf1 /gnupg-gpg1.patch
repo reorg
Diffstat (limited to 'gnupg-gpg1.patch')
-rw-r--r--gnupg-gpg1.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnupg-gpg1.patch b/gnupg-gpg1.patch
new file mode 100644
index 0000000..8b079bc
--- /dev/null
+++ b/gnupg-gpg1.patch
@@ -0,0 +1,13 @@
+diff -up gnupg-1.3.2/gnupg.c.orig gnupg-1.3.2/gnupg.c
+--- gnupg-1.3.2/gnupg.c.orig 2012-01-28 10:24:09.763192106 +0100
++++ gnupg-1.3.2/gnupg.c 2012-01-28 10:25:36.644195977 +0100
+@@ -137,6 +137,9 @@ static void gnupg_res_init(gnupg_object
+ gpgme_ctx_t ctx;
+ gpgme_check_version (NULL);
+ gpgme_new (&ctx);
++#ifdef GNUPG_PATH
++ gpgme_ctx_set_engine_info(ctx, GPGME_PROTOCOL_OpenPGP, GNUPG_PATH, NULL);
++#endif
+ gpgme_set_armor (ctx,1);
+ intern->ctx = ctx;
+ intern->encryptkeys = NULL;