aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-10-23 03:28:05 +0800
committerkris <kris@FreeBSD.org>2002-10-23 03:28:05 +0800
commit056e28fb1e2744ebbae8b44dbb8dd3ee89bff75b (patch)
treec24fe856e6b264964be7efe3ab37afbca1312d30 /games
parent7d6950b3e5828db0eb010948ae0b3f548c966448 (diff)
downloadfreebsd-ports-gnome-056e28fb1e2744ebbae8b44dbb8dd3ee89bff75b.tar.gz
freebsd-ports-gnome-056e28fb1e2744ebbae8b44dbb8dd3ee89bff75b.tar.zst
freebsd-ports-gnome-056e28fb1e2744ebbae8b44dbb8dd3ee89bff75b.zip
Fix build on -current (machine/joystick.h -> sys/joystick.h)
Diffstat (limited to 'games')
-rw-r--r--games/rocksndiamonds/files/patch-ac11
1 files changed, 6 insertions, 5 deletions
diff --git a/games/rocksndiamonds/files/patch-ac b/games/rocksndiamonds/files/patch-ac
index 73a986da4278..fda49317bc6e 100644
--- a/games/rocksndiamonds/files/patch-ac
+++ b/games/rocksndiamonds/files/patch-ac
@@ -1,11 +1,12 @@
---- src/joystick.h.orig Sun Jun 20 18:06:28 1999
-+++ src/joystick.h Sun Jun 20 18:07:24 1999
-@@ -20,7 +20,9 @@
- #define JOYSTICK_OFF 0
+--- ./src/joystick.h.orig Sun Jan 14 08:13:51 2001
++++ ./src/joystick.h Sun Oct 20 19:19:51 2002
+@@ -21,7 +21,9 @@
#define JOYSTICK_AVAILABLE 1
+
#ifdef __FreeBSD__
+-#include <machine/joystick.h>
+#if !defined(NO_JOYSTICK)
- #include <machine/joystick.h>
++#include <sys/joystick.h>
+#endif
#define DEV_JOYSTICK_0 "/dev/joy0"
#define DEV_JOYSTICK_1 "/dev/joy1"