diff options
author | kris <kris@FreeBSD.org> | 2002-09-05 11:36:48 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-09-05 11:36:48 +0800 |
commit | 0b0fc2eabe5c8103a4801a269271280dc204a3ec (patch) | |
tree | 606469df085508beb55b16a645d7219d8498ec2d /www/webstone | |
parent | 206496dd8ef362ba64b0d32134df121af567b289 (diff) | |
download | freebsd-ports-gnome-0b0fc2eabe5c8103a4801a269271280dc204a3ec.tar.gz freebsd-ports-gnome-0b0fc2eabe5c8103a4801a269271280dc204a3ec.tar.zst freebsd-ports-gnome-0b0fc2eabe5c8103a4801a269271280dc204a3ec.zip |
Fix build on -current by not initializing FILE * variables statically
Diffstat (limited to 'www/webstone')
-rw-r--r-- | www/webstone/files/patch-ac | 19 | ||||
-rw-r--r-- | www/webstone/files/patch-ad | 11 |
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 000000000000..4d137eb31a10 --- /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 000000000000..32d77887815f --- /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]; |