summaryrefslogtreecommitdiff
path: root/security/gpgme/patches/patch-ah
blob: 436d23e688f9f1a8262fbcb4a5295ca2609be5b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$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);
 }