summaryrefslogtreecommitdiffstats
path: root/gnupg-gpg1.patch
diff options
context:
space:
mode:
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;