svn commit: r440973 - head/security/openvpn-auth-ldap/files
Matthias Andree
mandree at FreeBSD.org
Mon May 15 21:11:23 UTC 2017
Author: mandree
Date: Mon May 15 21:11:21 2017
New Revision: 440973
URL: https://svnweb.freebsd.org/changeset/ports/440973
Log:
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@
Added:
head/security/openvpn-auth-ldap/files/patch-aclocal.m4 (contents, props changed)
Added: head/security/openvpn-auth-ldap/files/patch-aclocal.m4
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/openvpn-auth-ldap/files/patch-aclocal.m4 Mon May 15 21:11:21 2017 (r440973)
@@ -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;
More information about the svn-ports-head
mailing list