aboutsummaryrefslogtreecommitdiffstats
path: root/security/vpnc
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-03-25 23:46:07 +0800
committermiwi <miwi@FreeBSD.org>2009-03-25 23:46:07 +0800
commit17a948f6ff65f926a9162d2611cf8ce09affd6a9 (patch)
tree2a4f7d830dbede42025af7c45a7953445d454da1 /security/vpnc
parentad340b1eb33dfbfea593cdfc1b1b2d2e69e83601 (diff)
downloadfreebsd-ports-graphics-17a948f6ff65f926a9162d2611cf8ce09affd6a9.tar.gz
freebsd-ports-graphics-17a948f6ff65f926a9162d2611cf8ce09affd6a9.tar.zst
freebsd-ports-graphics-17a948f6ff65f926a9162d2611cf8ce09affd6a9.zip
- Fix build after addition of getdelim() and strndup()
PR: 133053 Submitted by: David Schultz <das@freebsd.org>
Diffstat (limited to 'security/vpnc')
-rw-r--r--security/vpnc/files/patch-sysdep.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/vpnc/files/patch-sysdep.h b/security/vpnc/files/patch-sysdep.h
new file mode 100644
index 00000000000..7817f3dcdd7
--- /dev/null
+++ b/security/vpnc/files/patch-sysdep.h
@@ -0,0 +1,13 @@
+--- sysdep.h.orig 2009-03-25 03:28:26.000000000 -0400
++++ sysdep.h 2009-03-25 03:29:18.000000000 -0400
+@@ -86,6 +86,10 @@
+ #define HAVE_FGETLN 1
+ #define HAVE_UNSETENV 1
+ #define HAVE_SETENV 1
++#include <sys/param.h>
++#if __FreeBSD_version >= 800067
++#define HAVE_GETLINE 1
++#endif
+ #endif
+
+ /***************************************************************************/