[pangzero] 01/02: Add fix-pause-crash.patch and fix the broken pause feature.
Markus Koschany
apo at moszumanska.debian.org
Mon Mar 13 08:10:31 UTC 2017
This is an automated email from the git hooks/post-receive script.
apo pushed a commit to branch master
in repository pangzero.
commit a1ab071e7ccfabf184780f1c54727e3037d4beb5
Author: Markus Koschany <apo at debian.org>
Date: Mon Mar 13 08:59:48 2017 +0100
Add fix-pause-crash.patch and fix the broken pause feature.
Closes: #857474
Thanks: Andrej Mernik for the report.
---
debian/patches/fix-pause-crash.patch | 22 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 23 insertions(+)
diff --git a/debian/patches/fix-pause-crash.patch b/debian/patches/fix-pause-crash.patch
new file mode 100644
index 0000000..465007b
--- /dev/null
+++ b/debian/patches/fix-pause-crash.patch
@@ -0,0 +1,22 @@
+From: Markus Koschany <apo at debian.org>
+Date: Mon, 13 Mar 2017 08:55:15 +0100
+Subject: fix pause crash
+
+Forwarded: https://github.com/kthakore/pangzero/issues/5
+Bug-Debian: https://bugs.debian.org/857474
+---
+ lib/Games/PangZero.pm | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/lib/Games/PangZero.pm b/lib/Games/PangZero.pm
+index e9e4dd6..7015fec 100644
+--- a/lib/Games/PangZero.pm
++++ b/lib/Games/PangZero.pm
+@@ -165,7 +165,6 @@ sub Pause {
+
+ SDL::Video::blit_surface($pausedSurface, SDL::Rect->new(0, 0, $pausedSurface->w, $pausedSurface->h),
+ $App, SDL::Rect->new(($PhysicalScreenWidth - $pausedSurface->w) / 2, $PhysicalScreenHeight / 2 - 100, 0, 0));
+- $App->sync();
+ $Keys = ();
+ $Events = ();
+ while (1) { # Paused, wait for keypress
diff --git a/debian/patches/series b/debian/patches/series
index 1f6e603..583ab7b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
10_nowebpage.patch
unescaped-left-brace-in-regex.patch
+fix-pause-crash.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/pangzero.git
More information about the Pkg-games-commits
mailing list