svn commit: r323628 - head/net/packetdrill/files

Hiroki Sato hrs at FreeBSD.org
Thu Jul 25 08:41:36 UTC 2013


Author: hrs
Date: Thu Jul 25 08:41:35 2013
New Revision: 323628
URL: http://svnweb.freebsd.org/changeset/ports/323628

Log:
  Add a patch to fix gcc build on head.
  
  Obtained from:	murray

Added:
  head/net/packetdrill/files/patch-platforms.h   (contents, props changed)

Added: head/net/packetdrill/files/patch-platforms.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/packetdrill/files/patch-platforms.h	Thu Jul 25 08:41:35 2013	(r323628)
@@ -0,0 +1,18 @@
+--- platforms.h.orig	2013-07-24 19:55:39.000000000 +0900
++++ platforms.h	2013-07-24 19:56:36.000000000 +0900
+@@ -43,11 +43,15 @@
+ 
+ #if defined(__FreeBSD__)
+ 
++#include <sys/param.h>
+ #define USE_LIBPCAP             1
+ #define TUN_PATH                "/dev/tun0"
+ #define TUN_DEV                 "tun0"
+ 
+ #define HAVE_TCP_INFO           1
++#if __FreeBSD_version > 1000028
++#define	HAVE_FMEMOPEN		1 
++#endif
+ 
+ #include "open_memstream.h"
+ #include "fmemopen.h"


More information about the svn-ports-all mailing list