From owner-svn-ports-head@freebsd.org Tue Jul 4 09:49:31 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F139FD8C430; Tue, 4 Jul 2017 09:49:31 +0000 (UTC) (envelope-from farrokhi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 BAFF6752BE; Tue, 4 Jul 2017 09:49:31 +0000 (UTC) (envelope-from farrokhi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v649nU8K025151; Tue, 4 Jul 2017 09:49:30 GMT (envelope-from farrokhi@FreeBSD.org) Received: (from farrokhi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v649nUos025148; Tue, 4 Jul 2017 09:49:30 GMT (envelope-from farrokhi@FreeBSD.org) Message-Id: <201707040949.v649nUos025148@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: farrokhi set sender to farrokhi@FreeBSD.org using -f From: Babak Farrokhi Date: Tue, 4 Jul 2017 09:49:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r445013 - in head/net/lft: . files X-SVN-Group: ports-head X-SVN-Commit-Author: farrokhi X-SVN-Commit-Paths: in head/net/lft: . files X-SVN-Commit-Revision: 445013 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jul 2017 09:49:32 -0000 Author: farrokhi Date: Tue Jul 4 09:49:30 2017 New Revision: 445013 URL: https://svnweb.freebsd.org/changeset/ports/445013 Log: Unbreak on 11-STABLE and 12-CURRENT - Remove reference to unused header file that caused build failure on 11.x+ - Fix the logic to create RAW sockets appropriately (reported by Andrew Wu) - Bump PORTREVISION PR: 219810 Reported by: Andrew Wu , dewayne@heuristicsystems.com.au Reviewed by: bapt Approved by: bapt Differential Revision: https://reviews.freebsd.org/D11072 Added: head/net/lft/files/ head/net/lft/files/patch-lft__lib.h (contents, props changed) head/net/lft/files/patch-lft__types.h (contents, props changed) Modified: head/net/lft/Makefile Modified: head/net/lft/Makefile ============================================================================== --- head/net/lft/Makefile Tue Jul 4 09:26:08 2017 (r445012) +++ head/net/lft/Makefile Tue Jul 4 09:49:30 2017 (r445013) @@ -3,6 +3,7 @@ PORTNAME= lft PORTVERSION= 3.79 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= net MASTER_SITES= http://pwhois.org/get/ @@ -14,8 +15,6 @@ LICENSE= VOSTROM LICENSE_NAME= VOSTROM LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_PERMS= dist-mirror dist-sell pkg-mirror auto-accept - -BROKEN_FreeBSD_12= fails to compile: lft_types.h: pcap-int.h: No such file or directory GNU_CONFIGURE= yes Added: head/net/lft/files/patch-lft__lib.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/lft/files/patch-lft__lib.h Tue Jul 4 09:49:30 2017 (r445013) @@ -0,0 +1,11 @@ +--- lft_lib.h.orig 2017-07-04 09:02:47 UTC ++++ lft_lib.h +@@ -277,7 +277,7 @@ typedef struct _incomicmpicmp + #define EVT_INCOMING_ICMP_ICMP 75 + #define EVT_RCVD_ICMP_ICMP 76 + +-#if defined(BSD_IP_STACK) && !defined(OPENBSD) ++#if defined(BSD_IP_STACK) && !defined(OPENBSD) && !defined(__FreeBSD__) + #define SCREWED_IP_LEN + #endif + Added: head/net/lft/files/patch-lft__types.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/lft/files/patch-lft__types.h Tue Jul 4 09:49:30 2017 (r445013) @@ -0,0 +1,11 @@ +--- lft_types.h.orig 2016-05-02 14:31:54 UTC ++++ lft_types.h +@@ -101,7 +101,7 @@ typedef signed long n_time; + #if !defined(DARWIN) && !defined(NETBSD) + #define HAVE_SNPRINTF + #define HAVE_VSNPRINTF +-#if !defined(OPENBSD) ++#if !defined(OPENBSD) && !defined(__FreeBSD__) + #include + #endif + #endif