summaryrefslogtreecommitdiff
path: root/net/nfdump
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-12-26 21:41:52 +0000
committerdholland <dholland@pkgsrc.org>2012-12-26 21:41:52 +0000
commitdb807910465d5cf0bc7606f0a4a860c951e0a9c1 (patch)
tree4f3aa00dfc51a8d6a2dfe2df4df625c56f4b873f /net/nfdump
parent5758b21f9dc052ccf91cee51d5d917448caae873 (diff)
downloadpkgsrc-db807910465d5cf0bc7606f0a4a860c951e0a9c1.tar.gz
Patch inline usage.
Diffstat (limited to 'net/nfdump')
-rw-r--r--net/nfdump/distinfo3
-rw-r--r--net/nfdump/patches/patch-bin_nf__common.c15
2 files changed, 17 insertions, 1 deletions
diff --git a/net/nfdump/distinfo b/net/nfdump/distinfo
index 5a236ef6d20..bf30a7ae799 100644
--- a/net/nfdump/distinfo
+++ b/net/nfdump/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.6 2012/07/25 21:19:30 tez Exp $
+$NetBSD: distinfo,v 1.7 2012/12/26 21:41:52 dholland Exp $
SHA1 (nfdump-1.6.6.tar.gz) = f7a30c69419222f1527684fb46f02ae757b3dac0
RMD160 (nfdump-1.6.6.tar.gz) = 63d5aec9e7f6d2ee151a88451e52ac86263996e4
Size (nfdump-1.6.6.tar.gz) = 651348 bytes
+SHA1 (patch-bin_nf__common.c) = 89a5d819a3076badf94d4151cda8a0e86d4dc55b
SHA1 (patch-bin_nfcapd.c) = d704b76af63547f9365dc56a65931e0df9d788fb
SHA1 (patch-bin_sfcapd.c) = 14d9cbef9c059629606d38df5a4cfa5aa082942a
SHA1 (patch-configure) = 02ddab9c6ee4d862b0e8f006ab3432b07923bf0b
diff --git a/net/nfdump/patches/patch-bin_nf__common.c b/net/nfdump/patches/patch-bin_nf__common.c
new file mode 100644
index 00000000000..a9574da8524
--- /dev/null
+++ b/net/nfdump/patches/patch-bin_nf__common.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-bin_nf__common.c,v 1.1 2012/12/26 21:41:52 dholland Exp $
+
+Fix gcc inline.
+
+--- bin/nf_common.c~ 2012-02-19 10:42:43.000000000 +0000
++++ bin/nf_common.c
+@@ -1440,7 +1440,7 @@ int i, remaining;
+
+ } // End of ParseOutputFormat
+
+-#ifdef __SUNPRO_C
++#if !defined(__GNUC__) || !defined(__GNUC_STDC_INLINE__)
+ extern
+ #endif
+ inline void format_number(uint64_t num, char *s, int fixed_width) {