From 910bd9655cf6879914dd138c708be70bb65cdee5 Mon Sep 17 00:00:00 2001 From: skv Date: Mon, 7 Jun 2010 15:46:28 +0000 Subject: Unbreak build for RELENG_8 and later. PR: ports/145176 Submitted by: Eugene Grosbein --- net-mgmt/ng_ipacct/files/patch-ipacctctl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 net-mgmt/ng_ipacct/files/patch-ipacctctl (limited to 'net-mgmt/ng_ipacct') diff --git a/net-mgmt/ng_ipacct/files/patch-ipacctctl b/net-mgmt/ng_ipacct/files/patch-ipacctctl new file mode 100644 index 000000000000..1aac68d91723 --- /dev/null +++ b/net-mgmt/ng_ipacct/files/patch-ipacctctl @@ -0,0 +1,15 @@ +--- ipacctctl/ipacctctl.c.orig 2010-03-29 23:36:30.000000000 +0700 ++++ ipacctctl/ipacctctl.c 2010-03-29 23:37:38.000000000 +0700 +@@ -53,6 +53,10 @@ + + #include "../ng_ipacct/ng_ipacct.h" + ++#ifndef NG_PATHLEN ++#define NG_PATHLEN (NG_PATHSIZ - 1) ++#endif ++ + #define TIME_FMT "%Y/%m/%d %H:%M:%S" /* used in strftime() */ + #define IN_HOOK 0 + #define OUT_HOOK 1 + + -- cgit