summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-09-05 03:36:48 +0000
committerkris <kris@FreeBSD.org>2002-09-05 03:36:48 +0000
commit0b0fc2eabe5c8103a4801a269271280dc204a3ec (patch)
tree606469df085508beb55b16a645d7219d8498ec2d
parent206496dd8ef362ba64b0d32134df121af567b289 (diff)
downloadFreeBSD-ports-0b0fc2eabe5c8103a4801a269271280dc204a3ec.zip
FreeBSD-ports-0b0fc2eabe5c8103a4801a269271280dc204a3ec.tar.gz
Fix build on -current by not initializing FILE * variables statically
-rw-r--r--www/webstone/files/patch-ac19
-rw-r--r--www/webstone/files/patch-ad11
2 files changed, 30 insertions, 0 deletions
diff --git a/www/webstone/files/patch-ac b/www/webstone/files/patch-ac
new file mode 100644
index 0000000..4d137eb
--- /dev/null
+++ b/www/webstone/files/patch-ac
@@ -0,0 +1,19 @@
+--- webmaster.c.orig Wed Sep 4 20:30:39 2002
++++ webmaster.c Wed Sep 4 20:31:22 2002
+@@ -88,7 +88,7 @@
+ SOCKET socknum[MAXCLIENTS];
+ SOCKET sockIO[MAXTOTALPROCS];
+ SOCKET sockErr[MAXTOTALPROCS];
+-THREAD FILE *debugfile = stderr;
++THREAD FILE *debugfile;
+
+ struct hostent *master_phe; /* IP addresses for webmaster */
+
+@@ -1385,6 +1385,7 @@
+
+ /* Initalization of variables. */
+ /* debugfile = stdout; */
++ debugfile = stderr;
+ memset(buffer, 0, NCCARGS);
+ memset(webserver, 0, MAXHOSTNAMELEN);
+ memset(configfile, 0, MAXPATHLEN);
diff --git a/www/webstone/files/patch-ad b/www/webstone/files/patch-ad
new file mode 100644
index 0000000..32d7788
--- /dev/null
+++ b/www/webstone/files/patch-ad
@@ -0,0 +1,11 @@
+--- webclient.c.orig Wed Sep 4 20:34:36 2002
++++ webclient.c Wed Sep 4 20:35:02 2002
+@@ -79,7 +79,7 @@
+ char proxyserver[MAXHOSTNAMELEN];
+ char debug_filename[MAXPATHLEN];
+
+-THREAD FILE *debugfile = stderr;
++THREAD FILE *debugfile;
+ THREAD FILE *logfile;
+ THREAD stats_t timestat;
+ THREAD rqst_timer_t timerarray[MAXNUMOFFILES];
OpenPOWER on IntegriCloud