aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2007-07-06 06:14:01 +0800
committeraraujo <araujo@FreeBSD.org>2007-07-06 06:14:01 +0800
commitc72ce12da205518942e89eb0f59f8a0b88875ae1 (patch)
tree9feb290611c7dd52705e30e02663a2d34738243f /net
parent24b424556f3eb43d439bcda6ed9b58182e48fb95 (diff)
downloadfreebsd-ports-gnome-c72ce12da205518942e89eb0f59f8a0b88875ae1.tar.gz
freebsd-ports-gnome-c72ce12da205518942e89eb0f59f8a0b88875ae1.tar.zst
freebsd-ports-gnome-c72ce12da205518942e89eb0f59f8a0b88875ae1.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
+ */