From owner-svn-ports-all@FreeBSD.ORG Wed Feb 4 12:25:37 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 609249BC; Wed, 4 Feb 2015 12:25:37 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C358C32; Wed, 4 Feb 2015 12:25:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t14CPbvX009226; Wed, 4 Feb 2015 12:25:37 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t14CPbHx009225; Wed, 4 Feb 2015 12:25:37 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201502041225.t14CPbHx009225@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Wed, 4 Feb 2015 12:25:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r378395 - head/security/vpnc/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2015 12:25:37 -0000 Author: marino Date: Wed Feb 4 12:25:36 2015 New Revision: 378395 URL: https://svnweb.freebsd.org/changeset/ports/378395 QAT: https://qat.redports.org/buildarchive/r378395/ Log: security/vpnc: Update sysdep.h patch to support dragonfly While here, remove the __FreeBSD_version check as this will always pass on supported releases of FreeBSD. Approved by: blanket (non-invasive DragonFly support) Modified: head/security/vpnc/files/patch-sysdep.h Modified: head/security/vpnc/files/patch-sysdep.h ============================================================================== --- head/security/vpnc/files/patch-sysdep.h Wed Feb 4 11:33:33 2015 (r378394) +++ head/security/vpnc/files/patch-sysdep.h Wed Feb 4 12:25:36 2015 (r378395) @@ -1,13 +1,18 @@ ---- 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 @@ +--- sysdep.h.orig 2008-11-19 20:36:12 UTC ++++ sysdep.h +@@ -86,6 +86,7 @@ int tun_get_hwaddr(int fd, char *dev, ui #define HAVE_FGETLN 1 #define HAVE_UNSETENV 1 #define HAVE_SETENV 1 -+#include -+#if __FreeBSD_version >= 800067 -+#define HAVE_GETLINE 1 -+#endif ++#define HAVE_GETLINE 1 + #endif + + /***************************************************************************/ +@@ -97,6 +98,7 @@ int tun_get_hwaddr(int fd, char *dev, ui + #define HAVE_FGETLN 1 + #define HAVE_UNSETENV 1 + #define HAVE_SETENV 1 ++#define HAVE_GETLINE 1 #endif /***************************************************************************/