From 1d677871ebb1c799b36927185468de3ab187a581 Mon Sep 17 00:00:00 2001 From: Daniel Jahre Date: Fri, 25 Nov 2005 17:22:21 +0000 Subject: [PATCH] Daniel Jahre: another 2.6.14 kernel header patch for joystick.h which had undefined types, which caused trouble for kdebase [2005110315403018694] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@6652 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- .../base/linux/linux26/90-joystick-h.patch | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 package/base/linux/linux26/90-joystick-h.patch diff --git a/package/base/linux/linux26/90-joystick-h.patch b/package/base/linux/linux26/90-joystick-h.patch new file mode 100644 index 000000000..7c436e4f9 --- /dev/null +++ b/package/base/linux/linux26/90-joystick-h.patch @@ -0,0 +1,39 @@ +--- ./include/linux/joystick.h.vanilla 2005-11-03 09:43:29.000000000 +0100 ++++ ./include/linux/joystick.h 2005-11-03 13:59:15.000000000 +0100 +@@ -111,25 +111,25 @@ + #define JS_SET_ALL 8 + + struct JS_DATA_TYPE { +- int32_t buttons; +- int32_t x; +- int32_t y; ++ __s32 buttons; ++ __s32 x; ++ __s32 y; + }; + + struct JS_DATA_SAVE_TYPE_32 { +- int32_t JS_TIMEOUT; +- int32_t BUSY; +- int32_t JS_EXPIRETIME; +- int32_t JS_TIMELIMIT; ++ __s32 JS_TIMEOUT; ++ __s32 BUSY; ++ __s32 JS_EXPIRETIME; ++ __s32 JS_TIMELIMIT; + struct JS_DATA_TYPE JS_SAVE; + struct JS_DATA_TYPE JS_CORR; + }; + + struct JS_DATA_SAVE_TYPE_64 { +- int32_t JS_TIMEOUT; +- int32_t BUSY; +- int64_t JS_EXPIRETIME; +- int64_t JS_TIMELIMIT; ++ __s32 JS_TIMEOUT; ++ __s32 BUSY; ++ __s64 JS_EXPIRETIME; ++ __s64 JS_TIMELIMIT; + struct JS_DATA_TYPE JS_SAVE; + struct JS_DATA_TYPE JS_CORR; + };