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 +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