summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authordholland <dholland>2012-05-23 06:26:10 +0000
committerdholland <dholland>2012-05-23 06:26:10 +0000
commit0eeae46e87e3dd7e8f9405291db3730bdd0e3cd6 (patch)
treecfa94cb36dc7e9ef4435d77a2228c4b431a3fe83 /games
parent292d26ebea79f93e67ac06db08f3e4ad604e39ba (diff)
downloadpkgsrc-0eeae46e87e3dd7e8f9405291db3730bdd0e3cd6.tar.gz
Fix invalid C. Should fix the Linux build.
Diffstat (limited to 'games')
-rw-r--r--games/spaceracer/distinfo3
-rw-r--r--games/spaceracer/patches/patch-src_stk_input_stk__joy_h15
2 files changed, 17 insertions, 1 deletions
diff --git a/games/spaceracer/distinfo b/games/spaceracer/distinfo
index 24e7591969e..f5706a502c6 100644
--- a/games/spaceracer/distinfo
+++ b/games/spaceracer/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2010/03/24 15:53:09 joerg Exp $
+$NetBSD: distinfo,v 1.4 2012/05/23 06:26:10 dholland Exp $
SHA1 (spaceracer-0.2.4.tgz) = 57fea82636c2d1c9b77b81db5b8828c385b31c98
RMD160 (spaceracer-0.2.4.tgz) = 610ed143324d815fc5066eb33c8625d7f4f80b2e
@@ -10,3 +10,4 @@ SHA1 (patch-acinclude) = b3126a339641f984a35f544653c8528a630902b0
SHA1 (patch-configurein) = 6bc5f82b42fd7edad062271d1689196ece4126df
SHA1 (patch-loopercpp) = a81f8570cb9ebb2de80b03f4093fc028179b82af
SHA1 (patch-soundcpp) = 679d9442bc533ae3923f47fba6e8c1f712190df7
+SHA1 (patch-src_stk_input_stk__joy_h) = 9c6bc498729f4263471f623990df34e63c7c0c1e
diff --git a/games/spaceracer/patches/patch-src_stk_input_stk__joy_h b/games/spaceracer/patches/patch-src_stk_input_stk__joy_h
new file mode 100644
index 00000000000..e6fd7bdcc81
--- /dev/null
+++ b/games/spaceracer/patches/patch-src_stk_input_stk__joy_h
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_stk_input_stk__joy_h,v 1.1 2012/05/23 06:26:11 dholland Exp $
+
+Use valid C.
+
+--- src/stk/input/stk_joy.h~ 2001-07-15 21:26:18.000000000 +0000
++++ src/stk/input/stk_joy.h
+@@ -14,7 +14,7 @@
+ #include <linux/joystick.h>
+ # if JS_VERSION >= 0x010000
+ # define LINUX_JOYSTICK_NEW
+-# elif
++# else
+ # define LINUX_JOYSTICK_OLD
+ # endif
+ #endif