summaryrefslogtreecommitdiff
path: root/security/gpgme/patches
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-11-07 13:18:16 +0000
committerjmmv <jmmv@pkgsrc.org>2004-11-07 13:18:16 +0000
commite95bddd49fed9b13f270d712a45adb97f49ca6a1 (patch)
treef63068f53dac9287e11cde290b1320559ce6b7ba /security/gpgme/patches
parent6c4e00026f22e6d97335022ac57780d9c78edc3d (diff)
downloadpkgsrc-e95bddd49fed9b13f270d712a45adb97f49ca6a1.tar.gz
Ew... also let this work if getenv_r returns no errors...
Diffstat (limited to 'security/gpgme/patches')
-rw-r--r--security/gpgme/patches/patch-af4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/gpgme/patches/patch-af b/security/gpgme/patches/patch-af
index 35e541f3daf..9a7e9dbf6f2 100644
--- a/security/gpgme/patches/patch-af
+++ b/security/gpgme/patches/patch-af
@@ -1,4 +1,4 @@
-$NetBSD: patch-af,v 1.3 2004/11/07 13:11:30 jmmv Exp $
+$NetBSD: patch-af,v 1.4 2004/11/07 13:18:16 jmmv Exp $
--- gpgme/get-env.c.orig 2003-09-13 19:45:04.000000000 +0200
+++ gpgme/get-env.c
@@ -34,7 +34,7 @@ $NetBSD: patch-af,v 1.3 2004/11/07 13:11:30 jmmv Exp $
+ if (!*value)
+ err = ENOMEM;
+ }
-+ if (err != ENOENT)
++ if (err != 0 && err != ENOENT)
+ return gpg_error_from_errno (err);
+ else
+ return (0);