diff --git a/www/webstone/files/patch-ac b/www/webstone/files/patch-ac index 4d137eb31a10..0f869e84a2fc 100644 --- a/www/webstone/files/patch-ac +++ b/www/webstone/files/patch-ac @@ -1,5 +1,5 @@ ---- webmaster.c.orig Wed Sep 4 20:30:39 2002 -+++ webmaster.c Wed Sep 4 20:31:22 2002 +--- webmaster.c.orig 1998-07-25 09:50:18.000000000 +0200 ++++ webmaster.c 2011-12-20 19:14:07.911175579 +0100 @@ -88,7 +88,7 @@ SOCKET socknum[MAXCLIENTS]; SOCKET sockIO[MAXTOTALPROCS]; @@ -9,6 +9,15 @@ struct hostent *master_phe; /* IP addresses for webmaster */ +@@ -1343,7 +1343,7 @@ + } + #endif /* WIN32 */ + +-void ++int + main(const int argc, char *argv[]) + { + @@ -1385,6 +1385,7 @@ /* Initalization of variables. */ diff --git a/www/webstone/files/patch-ad b/www/webstone/files/patch-ad index 32d77887815f..d6d66e1eede0 100644 --- a/www/webstone/files/patch-ad +++ b/www/webstone/files/patch-ad @@ -1,5 +1,5 @@ ---- webclient.c.orig Wed Sep 4 20:34:36 2002 -+++ webclient.c Wed Sep 4 20:35:02 2002 +--- webclient.c.orig 1998-07-25 09:50:17.000000000 +0200 ++++ webclient.c 2011-12-20 19:15:12.739176097 +0100 @@ -79,7 +79,7 @@ char proxyserver[MAXHOSTNAMELEN]; char debug_filename[MAXPATHLEN]; @@ -9,3 +9,21 @@ THREAD FILE *logfile; THREAD stats_t timestat; THREAD rqst_timer_t timerarray[MAXNUMOFFILES]; +@@ -691,7 +691,7 @@ + } + } + +-void ++int + main(int argc, char *argv[]) + { + long fcount = 0; +@@ -928,7 +928,7 @@ + CloseHandle(hSemaphore); + #endif /* WIN32 */ + +- return; ++ return(0); + } + + void diff --git a/www/webstone/files/patch-ae b/www/webstone/files/patch-ae new file mode 100644 index 000000000000..467174752a66 --- /dev/null +++ b/www/webstone/files/patch-ae @@ -0,0 +1,17 @@ +--- genrand.c~ 1998-07-25 09:50:16.000000000 +0200 ++++ genrand.c 2011-12-20 19:16:38.086174883 +0100 +@@ -31,7 +31,7 @@ + #include + #include "sysdep.h" + +-void ++int + main(const int argc, char* argv[]) + { + FILE* file; +@@ -70,4 +70,5 @@ + } + + fclose(file); ++ return(0); + } diff --git a/www/webstone/files/patch-af b/www/webstone/files/patch-af new file mode 100644 index 000000000000..e303d84c965e --- /dev/null +++ b/www/webstone/files/patch-af @@ -0,0 +1,11 @@ +--- CGI-test/ws25_cgi.c~ 1998-07-25 10:49:54.000000000 +0200 ++++ CGI-test/ws25_cgi.c 2011-12-20 19:17:47.104175312 +0100 +@@ -62,7 +62,7 @@ + #include + #include + +-void ++int + main() + { + char *query_string;