[berusky] 01/02: Add crash-on-startup.patch and fix the startup crash with certain
Markus Koschany
apo at moszumanska.debian.org
Sun Oct 29 20:58:10 UTC 2017
This is an automated email from the git hooks/post-receive script.
apo pushed a commit to branch stretch
in repository berusky.
commit 44f9ee7a166f6bbc51144e30473da61ba9c30616
Author: Markus Koschany <apo at debian.org>
Date: Sat Oct 14 19:54:22 2017 +0200
Add crash-on-startup.patch and fix the startup crash with certain
video card configurations.
---
debian/patches/crash-on-startup.patch | 24 ++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 25 insertions(+)
diff --git a/debian/patches/crash-on-startup.patch b/debian/patches/crash-on-startup.patch
new file mode 100644
index 0000000..9c898a0
--- /dev/null
+++ b/debian/patches/crash-on-startup.patch
@@ -0,0 +1,24 @@
+From: Markus Koschany <apo at 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 --git a/debian/patches/series b/debian/patches/series
index 83cc66f..35007a3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
05-no-editor.patch
11-german-po.patch
12-locale.patch
+crash-on-startup.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/berusky.git
More information about the Pkg-games-commits
mailing list