pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/maelstrom-x11 Use 0 instead of NULL to avoid an ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a25436248d5e
branches:  trunk
changeset: 495344:a25436248d5e
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Tue Jun 07 04:23:43 2005 +0000

description:
Use 0 instead of NULL to avoid an undeclared identifier error.

diffstat:

 games/maelstrom-x11/distinfo         |  4 ++--
 games/maelstrom-x11/patches/patch-ai |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 002b471df213 -r a25436248d5e games/maelstrom-x11/distinfo
--- a/games/maelstrom-x11/distinfo      Tue Jun 07 04:15:40 2005 +0000
+++ b/games/maelstrom-x11/distinfo      Tue Jun 07 04:23:43 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2005/06/07 04:15:40 minskim Exp $
+$NetBSD: distinfo,v 1.5 2005/06/07 04:23:43 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
@@ -20,5 +20,5 @@
 SHA1 (patch-af) = 46b5ab4cfe3e20401fc5feaa9319c093b025ca1d
 SHA1 (patch-ag) = aa7102be99466e81b95258a2a2ff888d7136fda3
 SHA1 (patch-ah) = b39ccc02f3e27e655d5169bb843554b7bdb323a9
-SHA1 (patch-ai) = 25e781f5092530b35256e17003d998443d479372
+SHA1 (patch-ai) = 153db1c1860e5d336a51aac2d86f753fc3858d31
 SHA1 (patch-aj) = 5135031fbbfa06eb11d24859bb1589361b025ba4
diff -r 002b471df213 -r a25436248d5e games/maelstrom-x11/patches/patch-ai
--- a/games/maelstrom-x11/patches/patch-ai      Tue Jun 07 04:15:40 2005 +0000
+++ b/games/maelstrom-x11/patches/patch-ai      Tue Jun 07 04:23:43 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ai,v 1.1.1.1 2002/07/11 13:26:14 wiz Exp $
+$NetBSD: patch-ai,v 1.2 2005/06/07 04:23:43 minskim Exp $
 
 --- fastrand.cpp.orig  Mon May 26 04:27:54 1997
 +++ fastrand.cpp       Tue Dec 11 09:56:52 2001
@@ -7,7 +7,7 @@
  #endif
        if ( ! Seed ) {
 -              gettimeofday(&tv, (void *)0);
-+              gettimeofday(&tv, NULL);
++              gettimeofday(&tv, 0);
                randomSeed = ((tv.tv_usec<<16)|((tv.tv_sec^tv.tv_usec)&0xFFFF));
                return;
        }



Home | Main Index | Thread Index | Old Index