summaryrefslogtreecommitdiff
path: root/net/clog
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-03-24 10:36:53 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-03-24 10:36:53 +0000
commitd9e0ff8265daf58e3b4005d9132e2d30e041b342 (patch)
treef701bed921868ec4098fc9ca73726ebe49489790 /net/clog
parentUpdate to 20020323. (diff)
Deal with definition of `stdout' in -CURRENT.
Notes
Notes: svn path=/head/; revision=56530
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 000000000000..dc6b5fa58a20
--- /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 */