From 3b9b9b37ee5e8dcb3ae4442fb73c530f137eaace Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Fri, 4 Nov 2005 17:38:12 +0000 Subject: [PATCH] Clifford Wolf: Fixed xblasttnt linux/joystick.h inclusion [2005110417460119213] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@6626 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/kasc/xblasttnt/linux-joystick_h.patch | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 package/kasc/xblasttnt/linux-joystick_h.patch diff --git a/package/kasc/xblasttnt/linux-joystick_h.patch b/package/kasc/xblasttnt/linux-joystick_h.patch new file mode 100644 index 000000000..0245e660c --- /dev/null +++ b/package/kasc/xblasttnt/linux-joystick_h.patch @@ -0,0 +1,21 @@ +--- ./x11_joystick.c.orig 2005-11-04 17:50:18.000000000 +0100 ++++ ./x11_joystick.c 2005-11-04 17:50:43.000000000 +0100 +@@ -32,7 +32,18 @@ + #ifndef NO_JOYSTICK + #include + #include ++ ++#ifdef __STRICT_ANSI__ ++#define REDEFINE__STRICT_ANSI__ ++#undef __STRICT_ANSI__ ++#endif ++ + #include ++ ++#ifdef REDEFINE__STRICT_ANSI__ ++#define __STRICT_ANSI__ ++#endif ++ + #endif + + #define JOYDIR_NONE 0x00