diff --git a/net/libpcap/Makefile b/net/libpcap/Makefile index c01835f418f6..b610911145dc 100644 --- a/net/libpcap/Makefile +++ b/net/libpcap/Makefile @@ -29,6 +29,8 @@ DAG_DESC= Support for Endace DAG hardware IPV6_CONFIGURE_ENABLE= ipv6 DAG_CONFIGURE_WITH= dag +DAG_CFLAGS= -I${LOCALBASE}/include DAG_LDFLAGS= -L${LOCALBASE}/lib +DAG_EXTRA_PATCHES= ${FILESDIR}/dag-patch-pcap-dag.c .include diff --git a/net/libpcap/files/dag-patch-pcap-dag.c b/net/libpcap/files/dag-patch-pcap-dag.c new file mode 100644 index 000000000000..475225b82dd3 --- /dev/null +++ b/net/libpcap/files/dag-patch-pcap-dag.c @@ -0,0 +1,11 @@ +--- pcap-dag.c.orig 2018-08-26 13:02:37 UTC ++++ pcap-dag.c +@@ -1103,7 +1103,7 @@ dag_findalldevs(pcap_if_list_t *devlistp + char dagname[DAGNAME_BUFSIZE]; + int dagstream; + int dagfd; +- dag_card_inf_t *inf; ++ daginf_t *inf; + char *description; + int stream, rxstreams; +