Date: Thu, 25 Jul 2013 08:41:36 +0000 (UTC) From: Hiroki Sato <hrs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r323628 - head/net/packetdrill/files Message-ID: <201307250841.r6P8faKU043521@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307250841.r6P8faKU043521>