]> git.deb.at Git - pkg/netris.git/blobdiff - debian/patches/08_various-fixes
Imported Debian patch 0.52-7
[pkg/netris.git] / debian / patches / 08_various-fixes
diff --git a/debian/patches/08_various-fixes b/debian/patches/08_various-fixes
new file mode 100644 (file)
index 0000000..a145ee8
--- /dev/null
@@ -0,0 +1,37 @@
+Index: netris-0.52/game.c
+===================================================================
+--- netris-0.52.orig/game.c
++++ netris-0.52/game.c
+@@ -21,6 +21,7 @@
+ #define NOEXT
+ #include "netris.h"
++#include <time.h>
+ #include <stdlib.h>
+ #include <ctype.h>
+ #include <string.h>
+Index: netris-0.52/inet.c
+===================================================================
+--- netris-0.52.orig/inet.c
++++ netris-0.52/inet.c
+@@ -52,7 +52,7 @@ ExtFunc int WaitForConnection(char *port
+       struct sockaddr_in addr;
+       struct hostent *host;
+       int sockListen;
+-      int addrLen;
++      socklen_t addrLen;
+       short port;
+       int val1;
+       struct linger val2;
+Index: netris-0.52/util.c
+===================================================================
+--- netris-0.52.orig/util.c
++++ netris-0.52/util.c
+@@ -20,6 +20,7 @@
+  */
+ #include "netris.h"
++#include <time.h>
+ #include <stdarg.h>
+ #include <stdlib.h>
+ #include <string.h>