From f96883baadcfc7cbad5d21d5c17f0d45b2b39b9b Mon Sep 17 00:00:00 2001 From: lofi Date: Wed, 23 Mar 2005 08:40:21 +0000 Subject: Fix a bug that prevents gpgsm from opening pinentry. Reported by: Jie Gao Obtained from: gnupg CVS Approved by: portmgr (K.P.) --- security/gnupg-devel/Makefile | 2 +- security/gnupg-devel/files/patch-common-asshelp.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 security/gnupg-devel/files/patch-common-asshelp.c diff --git a/security/gnupg-devel/Makefile b/security/gnupg-devel/Makefile index aa882ce3310d..d8c5fb884937 100644 --- a/security/gnupg-devel/Makefile +++ b/security/gnupg-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= gnupg PORTVERSION= 1.9.14 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_GNUPG} MASTER_SITE_SUBDIR= alpha/gnupg diff --git a/security/gnupg-devel/files/patch-common-asshelp.c b/security/gnupg-devel/files/patch-common-asshelp.c new file mode 100644 index 000000000000..2476103929d2 --- /dev/null +++ b/security/gnupg-devel/files/patch-common-asshelp.c @@ -0,0 +1,11 @@ +--- common/asshelp.c.orig Wed Mar 23 09:28:16 2005 ++++ common/asshelp.c Wed Mar 23 09:29:10 2005 +@@ -150,7 +150,7 @@ + #endif + if (opt_lc_messages || (dft_ttyname && dft_lc)) + { +- err = send_one_option (ctx, errsource, "display", ++ err = send_one_option (ctx, errsource, "lc-messages", + opt_lc_messages ? opt_lc_messages : dft_lc); + } + #if defined(HAVE_SETLOCALE) && defined(LC_MESSAGES) -- cgit