mr_bones_ 15/02/21 08:00:01 Added: dgen-sdl-1.33-joystick.patch Log: fix building with USE=-joystick (bug #540764) (Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Revision Changes Path 1.1 games-emulation/dgen-sdl/files/dgen-sdl-1.33-joystick.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/dgen-sdl/files/dgen-sdl-1.33-joystick.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/dgen-sdl/files/dgen-sdl-1.33-joystick.patch?rev=1.1&content-type=text/plain Index: dgen-sdl-1.33-joystick.patch =================================================================== --- sdl/sdl.cpp.orig +++ sdl/sdl.cpp @@ -6285,6 +6285,7 @@ #endif static unsigned long hide_mouse_when; static bool hide_mouse; + bool pressed; #ifdef WITH_JOYSTICK static uint32_t const axis_value[][3] = { // { pressed, [implicitly released ...] } @@ -6301,7 +6302,6 @@ }; unsigned int hat_value_map; intptr_t joypad; - bool pressed; #endif uint32_t plist[8]; uint32_t rlist[8];
