lib/pktanon: add <unistd.h> for modern compilers
USE_DOS2UNIX had to be set in order to apply the patch. Approved by: portmgr (bapt, implicit)
This commit is contained in:
parent
aeeb855c1b
commit
1794478b8b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328977
@ -12,6 +12,7 @@ COMMENT= Network trace anonymizer
|
||||
LIB_DEPENDS= boost_regex:${PORTSDIR}/devel/boost-libs \
|
||||
xerces-c.3:${PORTSDIR}/textproc/xerces-c3
|
||||
|
||||
USE_DOS2UNIX= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -lboost_system
|
||||
|
10
net/pktanon/files/patch-src_Timer.cpp
Normal file
10
net/pktanon/files/patch-src_Timer.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
--- src/Timer.cpp.orig 2013-10-01 17:57:00.000000000 +0000
|
||||
+++ src/Timer.cpp
|
||||
@@ -16,6 +16,7 @@
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
//
|
||||
|
||||
+#include <unistd.h>
|
||||
#include "Timer.h"
|
||||
|
||||
Timer::Timer ()
|
Loading…
Reference in New Issue
Block a user