pkgsrc/security/gpgme/patches/patch-ah
drochner cb3b40e37f update to 1.1.8
changes:
-bugfixes
-API extensions
-documentation improvement
-The encoding of gpgme_data_t objects can affect the output encoding
 of export, sign and encrypt operations now
-Using GPGME_KEYLIST_MODE_LOCAL combined with
 GPGME_KEYLIST_MODE_EXTERN is now supported
2009-11-15 18:41:55 +00:00

24 lines
542 B
Text

$NetBSD: patch-ah,v 1.3 2009/11/15 18:41:55 drochner Exp $
--- src/error.c.orig 2005-09-08 14:42:31.000000000 +0000
+++ src/error.c
@@ -22,6 +22,10 @@
#include <config.h>
#endif
+#if HAVE_RFUNCS_H
+#include <rfuncs.h>
+#endif
+
#include <gpgme.h>
/* Return a pointer to a string containing a description of the error
@@ -43,7 +47,7 @@ gpgme_strerror (gpgme_error_t err)
int
gpgme_strerror_r (gpg_error_t err, char *buf, size_t buflen)
{
- return gpg_strerror_r (err, buf, buflen);
+ return strerror_r (err, buf, buflen);
}