summaryrefslogtreecommitdiffstats
path: root/net/clog
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-03-24 10:36:53 +0000
committerobrien <obrien@FreeBSD.org>2002-03-24 10:36:53 +0000
commita5e832cf20ab60c4818cccc06c47ac825df9adbb (patch)
tree1a0559314a038ec2984ba95f51c8c032c47c22e5 /net/clog
parent10be8d9a1b9e4871ae5b867170b2e3dd5a63b268 (diff)
downloadFreeBSD-ports-a5e832cf20ab60c4818cccc06c47ac825df9adbb.zip
FreeBSD-ports-a5e832cf20ab60c4818cccc06c47ac825df9adbb.tar.gz
Deal with definition of `stdout' in -CURRENT.
Diffstat (limited to 'net/clog')
-rw-r--r--net/clog/files/patch-clog.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/clog/files/patch-clog.c b/net/clog/files/patch-clog.c
new file mode 100644
index 0000000..dc6b5fa
--- /dev/null
+++ b/net/clog/files/patch-clog.c
@@ -0,0 +1,15 @@
+--- clog.c.orig Thu Aug 7 21:56:32 1997
++++ clog.c Sun Mar 24 02:33:49 2002
+@@ -63,5 +63,5 @@
+ /* some global variables (ugh!) */
+ pcap_t *ip_socket;
+-FILE *logfile = stdout;
++FILE *logfile;
+ int resolve = 0;
+ int dlt_len = 4;
+@@ -92,4 +92,5 @@
+ int c;
+
++ logfile = stdout;
+ opterr = 0;
+ /* parse arguments */
OpenPOWER on IntegriCloud