summaryrefslogtreecommitdiff
path: root/games/xracer
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-10-02 08:23:14 +0000
committerjlam <jlam@pkgsrc.org>2000-10-02 08:23:14 +0000
commit5af9de7658a54821af4db2487db70383e443b7f0 (patch)
tree5eed56a967a111e1acf60aea0aa83fc24ad66fae /games/xracer
parent7b953228b834d548dcfc78ecfe5b774d17d83683 (diff)
downloadpkgsrc-5af9de7658a54821af4db2487db70383e443b7f0.tar.gz
Include <string.h> for proper declarations and definitions for memset()
and NULL. Fixes some compilation problems seen on NetBSD/alpha.
Diffstat (limited to 'games/xracer')
-rw-r--r--games/xracer/files/patch-sum4
-rw-r--r--games/xracer/patches/patch-ad15
-rw-r--r--games/xracer/patches/patch-ae15
3 files changed, 33 insertions, 1 deletions
diff --git a/games/xracer/files/patch-sum b/games/xracer/files/patch-sum
index b817ce8bd58..4302bb8b31a 100644
--- a/games/xracer/files/patch-sum
+++ b/games/xracer/files/patch-sum
@@ -1,8 +1,10 @@
-$NetBSD: patch-sum,v 1.2 2000/06/21 08:12:39 jlam Exp $
+$NetBSD: patch-sum,v 1.3 2000/10/02 08:23:14 jlam Exp $
MD5 (patch-aa) = 976919708921233417614776473f1730
MD5 (patch-ab) = feb75664e18e2e02552b56b92201e6f9
MD5 (patch-ac) = 79d5a29ba5f61c62621f289a77210194
+MD5 (patch-ad) = 1ff544aa01e702a4bfdd08424832c553
+MD5 (patch-ae) = c61153ac40f94e5fdc331b13b38f100f
MD5 (patch-af) = 99a98cf5f75b44db40c0d900858db4d7
MD5 (patch-ag) = 4c9b3729b78b7bbfab6eee6c32babd54
MD5 (patch-ah) = 8157b88c8f166e8671a5841040385b0c
diff --git a/games/xracer/patches/patch-ad b/games/xracer/patches/patch-ad
new file mode 100644
index 00000000000..e17112ec5dd
--- /dev/null
+++ b/games/xracer/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.3 2000/10/02 08:23:15 jlam Exp $
+
+--- src/arch_posix.c.orig Sun Jan 9 10:26:37 2000
++++ src/arch_posix.c
+@@ -36,6 +36,10 @@
+ #include <signal.h>
+ #endif
+
++#ifdef HAVE_STRING_H
++#include <string.h> /* declaration of memset() */
++#endif
++
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+ #endif
diff --git a/games/xracer/patches/patch-ae b/games/xracer/patches/patch-ae
new file mode 100644
index 00000000000..a7b85573e8f
--- /dev/null
+++ b/games/xracer/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.3 2000/10/02 08:23:15 jlam Exp $
+
+--- src/joystick_generic.c.orig Sat Jan 1 20:49:04 2000
++++ src/joystick_generic.c
+@@ -22,6 +22,10 @@
+ #include "xracer-joystick.h"
+ #include "xracer-log.h"
+
++#ifdef HAVE_STRING_H
++#include <string.h> /* definition of NULL */
++#endif
++
+ /* Joystick device. */
+ char *xrJoystickDevice = NULL;
+