Author: apo-guest Date: 2014-09-08 18:01:05 +0000 (Mon, 08 Sep 2014) New Revision: 15183
Added: packages/trunk/powermanga/debian/patches/joystick.patch Modified: packages/trunk/powermanga/debian/changelog packages/trunk/powermanga/debian/patches/series Log: Add joystick.patch. Fixes #561670 Modified: packages/trunk/powermanga/debian/changelog =================================================================== --- packages/trunk/powermanga/debian/changelog 2014-09-05 07:12:50 UTC (rev 15182) +++ packages/trunk/powermanga/debian/changelog 2014-09-08 18:01:05 UTC (rev 15183) @@ -1,3 +1,13 @@ +powermanga (0.92-2) unstable; urgency=medium + + * Add joystick.patch: + Fixes wrong joystick behaviour in display_sdl.c and allows the ship to move + to the left side again. + Thanks to Kalle Olavi Niemitalo and Bruno Ethvignot for the report, testing + and the patch. (Closes: #561670) + + -- Markus Koschany <[email protected]> Sun, 07 Sep 2014 23:48:55 +0200 + powermanga (0.92-1) unstable; urgency=medium * Imported Upstream version 0.92. (Closes: #734438) Added: packages/trunk/powermanga/debian/patches/joystick.patch =================================================================== --- packages/trunk/powermanga/debian/patches/joystick.patch (rev 0) +++ packages/trunk/powermanga/debian/patches/joystick.patch 2014-09-08 18:01:05 UTC (rev 15183) @@ -0,0 +1,22 @@ +From: Bruno Ethvignot <[email protected]> +Date: Sun, 7 Sep 2014 23:44:53 +0200 +Subject: joystick + +Bug: https://bugs.debian.org/561670 +--- + src/display_sdl.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/display_sdl.c b/src/display_sdl.c +index 954902f..971ffcd 100644 +--- a/src/display_sdl.c ++++ b/src/display_sdl.c +@@ -991,7 +991,7 @@ display_handle_events (void) + else if (event.jhat.value == SDL_HAT_LEFT) + { + joy_top = 0; +- joy_right = 1; ++ joy_right = 0; + joy_down = 0; + joy_left = 1; + } Modified: packages/trunk/powermanga/debian/patches/series =================================================================== --- packages/trunk/powermanga/debian/patches/series 2014-09-05 07:12:50 UTC (rev 15182) +++ packages/trunk/powermanga/debian/patches/series 2014-09-08 18:01:05 UTC (rev 15183) @@ -2,3 +2,4 @@ support-custom-CFLAGS.patch manpage.patch segmentation-fault-about_en.patch +joystick.patch _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

