svn commit: r328977 - in head/net/pktanon: . files
John Marino
marino at FreeBSD.org
Tue Oct 1 18:02:37 UTC 2013
Author: marino
Date: Tue Oct 1 18:02:36 2013
New Revision: 328977
URL: http://svnweb.freebsd.org/changeset/ports/328977
Log:
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)
Added:
head/net/pktanon/files/
head/net/pktanon/files/patch-src_Timer.cpp (contents, props changed)
Modified:
head/net/pktanon/Makefile
Modified: head/net/pktanon/Makefile
==============================================================================
--- head/net/pktanon/Makefile Tue Oct 1 17:56:36 2013 (r328976)
+++ head/net/pktanon/Makefile Tue Oct 1 18:02:36 2013 (r328977)
@@ -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
Added: head/net/pktanon/files/patch-src_Timer.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/pktanon/files/patch-src_Timer.cpp Tue Oct 1 18:02:36 2013 (r328977)
@@ -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 ()
More information about the svn-ports-all
mailing list