Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 May 2017 21:11:22 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r440973 - head/security/openvpn-auth-ldap/files
Message-ID:  <201705152111.v4FLBMGD032795@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705152111.v4FLBMGD032795>