diff options
Diffstat (limited to 'security/gpgme/files/patch-assuan-assuan-defs.h')
-rw-r--r-- | security/gpgme/files/patch-assuan-assuan-defs.h | 19 |
1 files changed, 19 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*/ + |