Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Please unblock package pangzero

it was discovered that the pause feature of pangzero could crash the game. [1]
I would like to fix this issue for Stretch and I have applied a small patch
to address this issue.

[1] https://bugs.debian.org/857474

Regards,

Markus

unblock pangzero/1.4.1+git20121103-3
diff -Nru pangzero-1.4.1+git20121103/debian/changelog 
pangzero-1.4.1+git20121103/debian/changelog
--- pangzero-1.4.1+git20121103/debian/changelog 2016-06-08 08:45:03.000000000 
+0200
+++ pangzero-1.4.1+git20121103/debian/changelog 2017-03-13 09:01:53.000000000 
+0100
@@ -1,3 +1,12 @@
+pangzero (1.4.1+git20121103-3) unstable; urgency=medium
+
+  * Team upload.
+  * Fix spelling mistake in debian/changelog.
+  * Add fix-pause-crash.patch and fix the broken pause feature.
+    Thanks to Andrej Mernik for the report. (Closes: #857474)
+
+ -- Markus Koschany <a...@debian.org>  Mon, 13 Mar 2017 09:01:53 +0100
+
 pangzero (1.4.1+git20121103-2) unstable; urgency=medium
 
   * Moved the package to Git.
@@ -5,7 +14,7 @@
   * Declare compliance with Debian Policy 3.9.8.
   * Use only Build-Depends field because we build arch:all.
   * debian/watch: version=4
-  * Add unescaped-left-brace-in-regex.patch and fix depraction warnings that
+  * Add unescaped-left-brace-in-regex.patch and fix deprecation warnings that
     will become fatal with Perl 5.26. Thanks to Niko Tyni for the report.
     (Closes: #826499)
 
diff -Nru pangzero-1.4.1+git20121103/debian/patches/fix-pause-crash.patch 
pangzero-1.4.1+git20121103/debian/patches/fix-pause-crash.patch
--- pangzero-1.4.1+git20121103/debian/patches/fix-pause-crash.patch     
1970-01-01 01:00:00.000000000 +0100
+++ pangzero-1.4.1+git20121103/debian/patches/fix-pause-crash.patch     
2017-03-13 09:01:53.000000000 +0100
@@ -0,0 +1,22 @@
+From: Markus Koschany <a...@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 -Nru pangzero-1.4.1+git20121103/debian/patches/series 
pangzero-1.4.1+git20121103/debian/patches/series
--- pangzero-1.4.1+git20121103/debian/patches/series    2016-06-08 
08:45:03.000000000 +0200
+++ pangzero-1.4.1+git20121103/debian/patches/series    2017-03-13 
09:01:53.000000000 +0100
@@ -1,2 +1,3 @@
 10_nowebpage.patch
 unescaped-left-brace-in-regex.patch
+fix-pause-crash.patch

Reply via email to