]> git.deb.at Git - pkg/netris.git/blob - debian/patches/08_various-fixes
Fix Vcs-* fields
[pkg/netris.git] / debian / patches / 08_various-fixes
1 Author: Rhonda D'Vine <rhonda@debian.org>       vim:ft=diff:
2 Description: various small changes to fix compile warnings
3
4 Index: b/game.c
5 ===================================================================
6 --- a/game.c
7 +++ b/game.c
8 @@ -21,6 +21,7 @@
9  
10  #define NOEXT
11  #include "netris.h"
12 +#include <time.h>
13  #include <stdlib.h>
14  #include <ctype.h>
15  #include <string.h>
16 Index: b/inet.c
17 ===================================================================
18 --- a/inet.c
19 +++ b/inet.c
20 @@ -52,7 +52,7 @@ ExtFunc int WaitForConnection(char *port
21         struct sockaddr_in addr;
22         struct hostent *host;
23         int sockListen;
24 -       int addrLen;
25 +       socklen_t addrLen;
26         short port;
27         int val1;
28         struct linger val2;
29 Index: b/util.c
30 ===================================================================
31 --- a/util.c
32 +++ b/util.c
33 @@ -20,6 +20,7 @@
34   */
35  
36  #include "netris.h"
37 +#include <time.h>
38  #include <stdarg.h>
39  #include <stdlib.h>
40  #include <string.h>