summaryrefslogtreecommitdiff
path: root/www/webstone/files/patch-genrand.c
diff options
context:
space:
mode:
Diffstat (limited to 'www/webstone/files/patch-genrand.c')
-rw-r--r--www/webstone/files/patch-genrand.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/www/webstone/files/patch-genrand.c b/www/webstone/files/patch-genrand.c
new file mode 100644
index 000000000000..467174752a66
--- /dev/null
+++ b/www/webstone/files/patch-genrand.c
@@ -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 <sys/stat.h>
+ #include "sysdep.h"
+
+-void
++int
+ main(const int argc, char* argv[])
+ {
+ FILE* file;
+@@ -70,4 +70,5 @@
+ }
+
+ fclose(file);
++ return(0);
+ }