diff options
author | skv <skv@FreeBSD.org> | 2010-06-07 23:46:28 +0800 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2010-06-07 23:46:28 +0800 |
commit | 910bd9655cf6879914dd138c708be70bb65cdee5 (patch) | |
tree | fbdd9fb28f420e45360ac7ed516695c0f8f16a85 /net-mgmt | |
parent | 031648cd8df8c6025fbadb1cac0a55f1430a38d8 (diff) | |
download | freebsd-ports-gnome-910bd9655cf6879914dd138c708be70bb65cdee5.tar.gz freebsd-ports-gnome-910bd9655cf6879914dd138c708be70bb65cdee5.tar.zst freebsd-ports-gnome-910bd9655cf6879914dd138c708be70bb65cdee5.zip |
Unbreak build for RELENG_8 and later.
PR: ports/145176
Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru>
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/ng_ipacct/files/patch-ipacctctl | 15 |
1 files changed, 15 insertions, 0 deletions
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 + + |