Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Aug 2018 13:10:35 +0000 (UTC)
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478125 - in head/net/libpcap: . files
Message-ID:  <201808261310.w7QDAZQc042189@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zi
Date: Sun Aug 26 13:10:35 2018
New Revision: 478125
URL: https://svnweb.freebsd.org/changeset/ports/478125

Log:
  - Fix DAG build

Added:
  head/net/libpcap/files/dag-patch-pcap-dag.c   (contents, props changed)
Modified:
  head/net/libpcap/Makefile

Modified: head/net/libpcap/Makefile
==============================================================================
--- head/net/libpcap/Makefile	Sun Aug 26 12:18:20 2018	(r478124)
+++ head/net/libpcap/Makefile	Sun Aug 26 13:10:35 2018	(r478125)
@@ -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 <bsd.port.mk>

Added: head/net/libpcap/files/dag-patch-pcap-dag.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/libpcap/files/dag-patch-pcap-dag.c	Sun Aug 26 13:10:35 2018	(r478125)
@@ -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;
+ 



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