summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2007-07-05 22:14:01 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2007-07-05 22:14:01 +0000
commit3e98f8172e9522f3450f7ab235beb5d706d0fc25 (patch)
treeb1281e968bb2d2752fc52e2a9d4fe30df49d7d59 /net
parent9b9ef4692d571b2241dd8067b3d1b69ea1b5a94b (diff)
downloadfreebsd-ports-3e98f8172e9522f3450f7ab235beb5d706d0fc25.zip
- Fix build with gcc 4.2.
- Added files/patch-tools.c. Reported by: pav Approved by: stas (mentor)
Diffstat (limited to 'net')
-rw-r--r--net/mars_nwe/files/patch-tools.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/mars_nwe/files/patch-tools.c b/net/mars_nwe/files/patch-tools.c
new file mode 100644
index 000000000000..950d8974c856
--- /dev/null
+++ b/net/mars_nwe/files/patch-tools.c
@@ -0,0 +1,11 @@
+--- ../work/mars_nwe/tools.c Mon Jul 2 14:41:36 2007
++++ tools.c Mon Jul 2 14:46:39 2007
+@@ -51,7 +51,7 @@
+ int act_connection=0; /* which connection (nwconn, nwbind) */
+ time_t act_time=0L; /* actual time */
+
+-static FILE *logfile=NULL;
++FILE *logfile=NULL;
+ static int use_syslog=0; /* 1 = use syslog for all loggings
+ * 2 = only for errors
+ */