Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2013 18:02:37 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r328977 - in head/net/pktanon: . files
Message-ID:  <201310011802.r91I2b0g009252@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 ()



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