20fe62d509
that have been patched recently to correctly use getenv_r, ttyname_r and strerror_r. This update applies the same changes to the copied files.
24 lines
603 B
Text
24 lines
603 B
Text
$NetBSD: patch-ba,v 1.1 2004/11/08 23:53:20 shannonjr Exp $
|
|
|
|
--- libkdenetwork/libgpgme-copy/gpgme/error.c.orig 2004-02-10 14:11:07.000000000 -0700
|
|
+++ libkdenetwork/libgpgme-copy/gpgme/error.c
|
|
@@ -21,6 +21,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
|
|
@@ -42,7 +46,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);
|
|
}
|
|
|
|
|