summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorkleink <kleink@pkgsrc.org>2003-11-09 11:17:53 +0000
committerkleink <kleink@pkgsrc.org>2003-11-09 11:17:53 +0000
commiteef4ef217a2ed04b814497157e4be0f940c6a1b8 (patch)
tree57476b4cf3e1ffdc8393e4ce0de66e3f978c3aba /games
parentb8a9c642b2c46c1e5755d1ed16c5311162631c6a (diff)
downloadpkgsrc-eef4ef217a2ed04b814497157e4be0f940c6a1b8.tar.gz
Need <string.h> and <strings.h> for prototypes.
Diffstat (limited to 'games')
-rw-r--r--games/nighthawk/distinfo4
-rw-r--r--games/nighthawk/patches/patch-bc17
2 files changed, 15 insertions, 6 deletions
diff --git a/games/nighthawk/distinfo b/games/nighthawk/distinfo
index c9f7f6bf412..0b6dc54f16f 100644
--- a/games/nighthawk/distinfo
+++ b/games/nighthawk/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2002/07/16 13:50:57 agc Exp $
+$NetBSD: distinfo,v 1.4 2003/11/09 11:17:53 kleink Exp $
SHA1 (nighthawk-2.1.tgz) = 117cd7d2c496a0d9e44b1b6d02523ad1cb0de1bf
Size (nighthawk-2.1.tgz) = 881268 bytes
@@ -11,4 +11,4 @@ SHA1 (patch-ad) = e59c729c4700d36ca61809e40721f88d2d22c09d
SHA1 (patch-ae) = 1699979e5013e86dc158722faef525b46ce30076
SHA1 (patch-ba) = c4669336ea8fdeb1352390e4109513c01915bd54
SHA1 (patch-bb) = f1d5bfb5985fbd41c57e719c86303f714344c14f
-SHA1 (patch-bc) = f0b357a6e4d13db6fe1649be83ef0738257bb1fe
+SHA1 (patch-bc) = 8bbcd9bd7bcde579a9b7ddb26ef60ffc05362b7e
diff --git a/games/nighthawk/patches/patch-bc b/games/nighthawk/patches/patch-bc
index 6ce3838c095..bb53cafc3b7 100644
--- a/games/nighthawk/patches/patch-bc
+++ b/games/nighthawk/patches/patch-bc
@@ -1,8 +1,17 @@
-$NetBSD: patch-bc,v 1.1 2002/07/16 13:50:58 agc Exp $
+$NetBSD: patch-bc,v 1.2 2003/11/09 11:17:53 kleink Exp $
---- src/object.cc.orig Thu May 14 13:06:35 1998
-+++ src/object.cc Tue Jul 16 14:45:08 2002
-@@ -364,7 +364,7 @@
+--- src/object.cc.orig 1998-05-14 14:06:35.000000000 +0200
++++ src/object.cc 2003-11-09 12:13:13.000000000 +0100
+@@ -14,6 +14,8 @@
+ extern "C" {
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
++#include <strings.h>
+ #include <math.h>
+ #include <X11/Xlib.h>
+ #include <X11/Xutil.h>
+@@ -364,7 +366,7 @@
void tlaser::colision(float cx,float cy)
{