aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/flow-tools
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-24 16:44:04 +0800
committerkrion <krion@FreeBSD.org>2004-08-24 16:44:04 +0800
commit3ffc8fd15b9ca5e266408ea83b8d3d5853305779 (patch)
tree52cdac4d9a9166f4d23466b217ccc2f42fb1d2af /net-mgmt/flow-tools
parente1a73c88d22df2373c55017ccf9b564d5e385499 (diff)
downloadfreebsd-ports-gnome-3ffc8fd15b9ca5e266408ea83b8d3d5853305779.tar.gz
freebsd-ports-gnome-3ffc8fd15b9ca5e266408ea83b8d3d5853305779.tar.zst
freebsd-ports-gnome-3ffc8fd15b9ca5e266408ea83b8d3d5853305779.zip
Fix build with gcc-3.4
Diffstat (limited to 'net-mgmt/flow-tools')
-rw-r--r--net-mgmt/flow-tools/files/patch-src_flow-cat.c16
-rw-r--r--net-mgmt/flow-tools/files/patch-src_flow-dscan.c27
-rw-r--r--net-mgmt/flow-tools/files/patch-src_flow-fanout.c16
-rw-r--r--net-mgmt/flow-tools/files/patch-src_flow-receive.c16
4 files changed, 75 insertions, 0 deletions
diff --git a/net-mgmt/flow-tools/files/patch-src_flow-cat.c b/net-mgmt/flow-tools/files/patch-src_flow-cat.c
new file mode 100644
index 000000000000..47711b52149d
--- /dev/null
+++ b/net-mgmt/flow-tools/files/patch-src_flow-cat.c
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- src/flow-cat.c.orig Tue Aug 24 10:39:54 2004
++++ src/flow-cat.c Tue Aug 24 10:40:09 2004
+@@ -551,8 +551,8 @@
+ break;
+
+ next_file:
+-
+- } /* FOREACH filename in dir */
++ ;
++ } /* FOREACH filename in dir */
+
+ } /* foreach dir bundle */
+
diff --git a/net-mgmt/flow-tools/files/patch-src_flow-dscan.c b/net-mgmt/flow-tools/files/patch-src_flow-dscan.c
new file mode 100644
index 000000000000..433d817c1a92
--- /dev/null
+++ b/net-mgmt/flow-tools/files/patch-src_flow-dscan.c
@@ -0,0 +1,27 @@
+
+$FreeBSD$
+
+--- src/flow-dscan.c.orig Tue Aug 24 10:40:32 2004
++++ src/flow-dscan.c Tue Aug 24 10:41:01 2004
+@@ -561,8 +561,9 @@
+
+ skip2:
+
++ ;
+
+- } /* while rec */
++ } /* while rec */
+
+ if (debug > 0) {
+ ftprof_end(&ftp, ftio_get_rec_total(&ftio));
+@@ -806,8 +807,8 @@
+ fterr_info("ager: reset hash run");
+
+ skip3:
+-
+-} /* ager */
++ ;
++ } /* ager */
+
+ int load_suppress(struct dscan_state *ds, int sd)
+ {
diff --git a/net-mgmt/flow-tools/files/patch-src_flow-fanout.c b/net-mgmt/flow-tools/files/patch-src_flow-fanout.c
new file mode 100644
index 000000000000..bf63629556c3
--- /dev/null
+++ b/net-mgmt/flow-tools/files/patch-src_flow-fanout.c
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- src/flow-fanout.c.orig Tue Aug 24 10:42:14 2004
++++ src/flow-fanout.c Tue Aug 24 10:42:26 2004
+@@ -840,8 +840,8 @@
+ } /* fte.buf_size */
+
+ skip1:
+-
+- } /* if FD_ISSET */
++ ;
++ } /* if FD_ISSET */
+
+ if (sig_quit_flag) {
+ fterr_info("SIGQUIT");
diff --git a/net-mgmt/flow-tools/files/patch-src_flow-receive.c b/net-mgmt/flow-tools/files/patch-src_flow-receive.c
new file mode 100644
index 000000000000..ae78b0d898b8
--- /dev/null
+++ b/net-mgmt/flow-tools/files/patch-src_flow-receive.c
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- src/flow-receive.c.orig Tue Aug 24 10:41:43 2004
++++ src/flow-receive.c Tue Aug 24 10:41:55 2004
+@@ -733,8 +733,8 @@
+ } /* for */
+
+ skip1:
+-
+- } /* if FD_ISSET */
++ ;
++ } /* if FD_ISSET */
+
+ } /* while 1 */
+