summaryrefslogtreecommitdiff
path: root/security/openvpn-auth-ldap
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2017-05-15 21:11:21 +0000
committerMatthias Andree <mandree@FreeBSD.org>2017-05-15 21:11:21 +0000
commitdd52a3f2d5c0cdbe0aa4b9507b0145cf271383de (patch)
tree182bffd22946e99825b706952a042a83c4153a12 /security/openvpn-auth-ldap
parentUpdate www/elixir-phoenix to version 1.2.4. (diff)
Unbreak openvpn-plugin.h detection.
Apparently the header file changed in openvpn 2.4.2 and now requires #include <sys/types.h> explicitly to pull the typedef for size_t in. Add that header line to the test so it won't report a false negative result. Reported by: pkg-fallout@
Notes
Notes: svn path=/head/; revision=440973
Diffstat (limited to 'security/openvpn-auth-ldap')
-rw-r--r--security/openvpn-auth-ldap/files/patch-aclocal.m410
1 files changed, 10 insertions, 0 deletions
diff --git a/security/openvpn-auth-ldap/files/patch-aclocal.m4 b/security/openvpn-auth-ldap/files/patch-aclocal.m4
new file mode 100644
index 000000000000..abb2b1de74c4
--- /dev/null
+++ b/security/openvpn-auth-ldap/files/patch-aclocal.m4
@@ -0,0 +1,10 @@
+--- aclocal.m4.orig 2012-03-04 04:55:05 UTC
++++ aclocal.m4
+@@ -319,6 +319,7 @@ AC_DEFUN([OD_OPENVPN_HEADER],[
+ AC_CACHE_VAL(od_cv_openvpn, [
+ AC_LINK_IFELSE([
+ AC_LANG_PROGRAM([
++ #include <sys/types.h>
+ #include <openvpn-plugin.h>
+ ], [
+ int flag = OPENVPN_PLUGIN_UP;