diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-10-22 19:28:05 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-10-22 19:28:05 +0000 |
commit | 9913faf6ee347f70da9225b17a30b5c31bdef182 (patch) | |
tree | ce65fb85ba9c0cb6400de87aead466f4334affa2 /games/rocksndiamonds | |
parent | Add Dynamic Tunnel Configuration Protocol daemon and client (diff) |
Fix build on -current (machine/joystick.h -> sys/joystick.h)
Notes
Notes:
svn path=/head/; revision=68603
Diffstat (limited to 'games/rocksndiamonds')
-rw-r--r-- | games/rocksndiamonds/files/patch-ac | 11 |
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" |