1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

Fix build on 4.x

This commit is contained in:
Michael Nottebrock 2006-09-13 22:44:05 +00:00
parent d69ab5dc68
commit a8771ea65e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=172985
2 changed files with 30 additions and 0 deletions

View File

@ -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*/

View File

@ -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