[powermanga] 29/41: Add joystick.patch. Fixes #561670
Markus Koschany
apo-guest at moszumanska.debian.org
Thu Jun 25 18:55:10 UTC 2015
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository powermanga.
commit 379a5cf9c00b180a626e878d52cc41f101610b8f
Author: Markus Koschany <apo at gambaru.de>
Date: Mon Sep 8 18:01:05 2014 +0000
Add joystick.patch. Fixes #561670
---
debian/changelog | 10 ++++++++++
debian/patches/joystick.patch | 22 ++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 33 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 15a4f6a..02f7835 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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 <apo at gambaru.de> Sun, 07 Sep 2014 23:48:55 +0200
+
powermanga (0.92-1) unstable; urgency=medium
* Imported Upstream version 0.92. (Closes: #734438)
diff --git a/debian/patches/joystick.patch b/debian/patches/joystick.patch
new file mode 100644
index 0000000..1e6d386
--- /dev/null
+++ b/debian/patches/joystick.patch
@@ -0,0 +1,22 @@
+From: Bruno Ethvignot <bruno at tlk.biz>
+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;
+ }
diff --git a/debian/patches/series b/debian/patches/series
index 57df08f..8ddd434 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ desktop-file.patch
support-custom-CFLAGS.patch
manpage.patch
segmentation-fault-about_en.patch
+joystick.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/powermanga.git
More information about the Pkg-games-commits
mailing list