diff options
author | minskim <minskim@pkgsrc.org> | 2005-06-07 04:15:40 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-06-07 04:15:40 +0000 |
commit | 6f1e013345f977215dde182de0409a3c805cab25 (patch) | |
tree | 39f32a6442e0b4da1fcd0c5b493497cecbe0647b /games/maelstrom-x11 | |
parent | 5791c987f89597e559b4454a8e374e6e67f82f42 (diff) | |
download | pkgsrc-6f1e013345f977215dde182de0409a3c805cab25.tar.gz |
Include time.h to use time(3).
Diffstat (limited to 'games/maelstrom-x11')
-rw-r--r-- | games/maelstrom-x11/distinfo | 4 | ||||
-rw-r--r-- | games/maelstrom-x11/patches/patch-ah | 24 |
2 files changed, 18 insertions, 10 deletions
diff --git a/games/maelstrom-x11/distinfo b/games/maelstrom-x11/distinfo index 79a73e7c42a..75ba18e5d28 100644 --- a/games/maelstrom-x11/distinfo +++ b/games/maelstrom-x11/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2005/02/23 23:12:00 agc Exp $ +$NetBSD: distinfo,v 1.4 2005/06/07 04:15:40 minskim Exp $ SHA1 (Maelstrom-1.4.3-L2.0.6-src.tar.gz) = 66c81365104bfab9985919f0cba5a6d955727d79 RMD160 (Maelstrom-1.4.3-L2.0.6-src.tar.gz) = 071b36ecd31830f3b62e4b6e2f64b7f7d87b1386 @@ -19,6 +19,6 @@ SHA1 (patch-ad) = d5405b696f839c4965fb8e299108aff1b689399a SHA1 (patch-ae) = 6f390cca5abbc0b277d22df8efc4ce589e8b0ecb SHA1 (patch-af) = 46b5ab4cfe3e20401fc5feaa9319c093b025ca1d SHA1 (patch-ag) = aa7102be99466e81b95258a2a2ff888d7136fda3 -SHA1 (patch-ah) = 03a8dcdc19cbcfb6d13a9de80ef529560bb3ad1a +SHA1 (patch-ah) = b39ccc02f3e27e655d5169bb843554b7bdb323a9 SHA1 (patch-ai) = 25e781f5092530b35256e17003d998443d479372 SHA1 (patch-aj) = 5135031fbbfa06eb11d24859bb1589361b025ba4 diff --git a/games/maelstrom-x11/patches/patch-ah b/games/maelstrom-x11/patches/patch-ah index 9f7ae150378..d5066333bed 100644 --- a/games/maelstrom-x11/patches/patch-ah +++ b/games/maelstrom-x11/patches/patch-ah @@ -1,8 +1,16 @@ -$NetBSD: patch-ah,v 1.1.1.1 2002/07/11 13:26:14 wiz Exp $ +$NetBSD: patch-ah,v 1.2 2005/06/07 04:15:40 minskim Exp $ ---- netlogic/netplay.cpp.orig Thu Dec 12 23:14:46 1996 -+++ netlogic/netplay.cpp Tue Dec 11 09:53:18 2001 -@@ -25,6 +25,10 @@ +--- netlogic/netplay.cpp.orig 1996-12-12 10:14:46.000000000 -0600 ++++ netlogic/netplay.cpp +@@ -5,6 +5,7 @@ + #include "netplay.h" + #include "protocol.h" + ++#include <time.h> + #ifdef _SGI_SOURCE + #include <bstring.h> + #endif +@@ -25,6 +26,10 @@ #include <arpa/inet.h> #endif /* Win95 */ @@ -13,7 +21,7 @@ $NetBSD: patch-ah,v 1.1.1.1 2002/07/11 13:26:14 wiz Exp $ int gNumPlayers; int gOurPlayer; int gDeathMatch; -@@ -352,7 +356,8 @@ +@@ -352,7 +357,8 @@ void QueueKey(unsigned char Op, unsigned int SyncNetwork(void) { int nleft; @@ -23,7 +31,7 @@ $NetBSD: patch-ah,v 1.1.1.1 2002/07/11 13:26:14 wiz Exp $ struct sockaddr_in from; unsigned long frame, seed, newseed; struct timeval timeout; -@@ -567,7 +572,7 @@ +@@ -567,7 +573,7 @@ inline void SuckPackets(void) struct timeval timeout; fd_set fdset; char netbuf[BUFSIZ]; @@ -32,7 +40,7 @@ $NetBSD: patch-ah,v 1.1.1.1 2002/07/11 13:26:14 wiz Exp $ struct sockaddr_in from; timeout.tv_sec = 0; -@@ -807,7 +812,8 @@ +@@ -807,7 +813,8 @@ int Send_NewGame(int *Wave, int *Lives, char message[BUFSIZ]; int nleft, n; int acked[MAX_PLAYERS]; @@ -42,7 +50,7 @@ $NetBSD: patch-ah,v 1.1.1.1 2002/07/11 13:26:14 wiz Exp $ struct sockaddr_in from; struct timeval timeout; fd_set fdset; -@@ -939,7 +945,8 @@ +@@ -939,7 +946,8 @@ getit: int Await_NewGame(int *Wave, int *Lives, int *Turbo) { unsigned char netbuf[BUFSIZ]; |