pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/maelstrom-x11 Include time.h to use time(3).



details:   https://anonhg.NetBSD.org/pkgsrc/rev/002b471df213
branches:  trunk
changeset: 495343:002b471df213
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Tue Jun 07 04:15:40 2005 +0000

description:
Include time.h to use time(3).

diffstat:

 games/maelstrom-x11/distinfo         |   4 ++--
 games/maelstrom-x11/patches/patch-ah |  24 ++++++++++++++++--------
 2 files changed, 18 insertions(+), 10 deletions(-)

diffs (77 lines):

diff -r 77e189ce7a62 -r 002b471df213 games/maelstrom-x11/distinfo
--- a/games/maelstrom-x11/distinfo      Tue Jun 07 03:52:10 2005 +0000
+++ b/games/maelstrom-x11/distinfo      Tue Jun 07 04:15:40 2005 +0000
@@ -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-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 -r 77e189ce7a62 -r 002b471df213 games/maelstrom-x11/patches/patch-ah
--- a/games/maelstrom-x11/patches/patch-ah      Tue Jun 07 03:52:10 2005 +0000
+++ b/games/maelstrom-x11/patches/patch-ah      Tue Jun 07 04:15:40 2005 +0000
@@ -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 @@
  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 @@
        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 @@
        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 @@
        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];



Home | Main Index | Thread Index | Old Index