diff options
Diffstat (limited to 'security/gpgme')
-rw-r--r-- | security/gpgme/files/patch-assuan-assuan-defs.h | 19 | ||||
-rw-r--r-- | security/gpgme/files/patch-configure | 11 |
2 files changed, 30 insertions, 0 deletions
diff --git a/security/gpgme/files/patch-assuan-assuan-defs.h b/security/gpgme/files/patch-assuan-assuan-defs.h new file mode 100644 index 000000000000..bd21a31571f9 --- /dev/null +++ b/security/gpgme/files/patch-assuan-assuan-defs.h @@ -0,0 +1,19 @@ +--- assuan/assuan-defs.h.orig Thu Sep 14 00:33:50 2006 ++++ assuan/assuan-defs.h Thu Sep 14 00:34:51 2006 +@@ -251,5 +251,16 @@ + #define funopen(a,r,w,s,c) _assuan_funopen ((a), (r), (w), (s), (c)) + #endif /*HAVE_FOPENCOOKIE*/ + ++#ifndef HAVE_STPCPY ++static char * _gpgme_stpcpy (char *a, const char *b) ++{ ++ while (*b) ++ *a++ = *b++; ++ *a = 0; ++ return a; ++} ++#define stpcpy(a,b) _gpgme_stpcpy ((a), (b)) ++#endif /*!HAVE_STPCPY*/ ++ + #endif /*ASSUAN_DEFS_H*/ + diff --git a/security/gpgme/files/patch-configure b/security/gpgme/files/patch-configure new file mode 100644 index 000000000000..f598d67c9dbf --- /dev/null +++ b/security/gpgme/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.old Thu Sep 14 00:02:14 2006 ++++ configure Thu Sep 14 00:02:58 2006 +@@ -23349,7 +23349,7 @@ + echo "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + +-eval "$as_ac_var=no" ++eval "$as_ac_var=yes" + fi + rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext |