Page MenuHomeFreeBSD

D11072.diff
No OneTemporary

D11072.diff

Index: head/net/lft/Makefile
===================================================================
--- head/net/lft/Makefile
+++ head/net/lft/Makefile
@@ -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_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
Index: head/net/lft/files/patch-lft__lib.h
===================================================================
--- head/net/lft/files/patch-lft__lib.h
+++ head/net/lft/files/patch-lft__lib.h
@@ -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
+
Index: head/net/lft/files/patch-lft__types.h
===================================================================
--- head/net/lft/files/patch-lft__types.h
+++ head/net/lft/files/patch-lft__types.h
@@ -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 <pcap-int.h>
+ #endif
+ #endif

File Metadata

Mime Type
text/plain
Expires
Thu, Jun 25, 3:51 AM (8 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34303233
Default Alt Text
D11072.diff (1 KB)

Event Timeline