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:
parent
d69ab5dc68
commit
a8771ea65e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=172985
19
security/gpgme/files/patch-assuan-assuan-defs.h
Normal file
19
security/gpgme/files/patch-assuan-assuan-defs.h
Normal 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*/
|
||||
|
11
security/gpgme/files/patch-configure
Normal file
11
security/gpgme/files/patch-configure
Normal 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
|
Loading…
Reference in New Issue
Block a user