[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#878576: stretch-pu: package berusky/1.7-1+b1



Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian.org@packages.debian.org
Usertags: pu

Hi,

I would like to update berusky in Stretch. The Jessie version is not
affected. The game crashes on startup with certain video card
configurations. This makes the game unplayable.

This is Debian bug #877979.
https://bugs.debian.org/877979

The issue is already fixed in sid and buster. Please find attached the
debdiff for stretch.

Regards,

Markus
diff -Nru berusky-1.7/debian/changelog berusky-1.7/debian/changelog
--- berusky-1.7/debian/changelog	2016-06-12 13:50:54.000000000 +0200
+++ berusky-1.7/debian/changelog	2017-10-14 19:55:16.000000000 +0200
@@ -1,3 +1,10 @@
+berusky (1.7-1+deb9u1) stretch; urgency=medium
+
+  * Add crash-on-startup.patch and fix the startup crash with certain
+    video card configurations. (Closes: #877979)
+
+ -- Markus Koschany <apo@debian.org>  Sat, 14 Oct 2017 19:55:16 +0200
+
 berusky (1.7-1) unstable; urgency=medium
 
   * Imported Upstream version 1.7. (Closes: #687690)
diff -Nru berusky-1.7/debian/patches/crash-on-startup.patch berusky-1.7/debian/patches/crash-on-startup.patch
--- berusky-1.7/debian/patches/crash-on-startup.patch	1970-01-01 01:00:00.000000000 +0100
+++ berusky-1.7/debian/patches/crash-on-startup.patch	2017-10-14 19:55:16.000000000 +0200
@@ -0,0 +1,24 @@
+From: Markus Koschany <apo@debian.org>
+Date: Sat, 14 Oct 2017 19:53:16 +0200
+Subject: crash on startup
+
+Bug-Debian: https://bugs.debian.org/877979
+---
+ src/2d_graph.h | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/src/2d_graph.h b/src/2d_graph.h
+index 1f012dd..1a66076 100644
+--- a/src/2d_graph.h
++++ b/src/2d_graph.h
+@@ -749,7 +749,9 @@ public:
+   void check(void);
+ 
+   graph_2d(tpos dx, tpos dy, int depth, bool fullscreen) 
+-    : store(SURFACES, SPRITES), 
++      : p_screen_surface(NULL),
++      p_screen(NULL),
++      store(SURFACES, SPRITES),
+       rect_last(0)
+   {
+     /* sdl init */
diff -Nru berusky-1.7/debian/patches/series berusky-1.7/debian/patches/series
--- berusky-1.7/debian/patches/series	2016-06-12 13:50:54.000000000 +0200
+++ berusky-1.7/debian/patches/series	2017-10-14 19:55:16.000000000 +0200
@@ -3,3 +3,4 @@
 05-no-editor.patch
 11-german-po.patch
 12-locale.patch
+crash-on-startup.patch

Reply to: