[ace-of-penguins] 07/09: Add freecell-KDE.patch and fix freecell's start issues on KDE.
Markus Koschany
apo at moszumanska.debian.org
Fri Mar 2 21:39:32 UTC 2018
This is an automated email from the git hooks/post-receive script.
apo pushed a commit to branch master
in repository ace-of-penguins.
commit 44e61d0d79d6a7d698400f0979599c63c4a29899
Author: Markus Koschany <apo at debian.org>
Date: Fri Mar 2 21:51:32 2018 +0100
Add freecell-KDE.patch and fix freecell's start issues on KDE.
Thanks: Dr. Claudia Neumann for the report and Esa Peuha for the patch.
Closes: #883707
---
debian/patches/freecell-KDE.patch | 30 ++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 31 insertions(+)
diff --git a/debian/patches/freecell-KDE.patch b/debian/patches/freecell-KDE.patch
new file mode 100644
index 0000000..26f28c1
--- /dev/null
+++ b/debian/patches/freecell-KDE.patch
@@ -0,0 +1,30 @@
+From: Esa Peuha <esa.peuha at gmail.com>
+Date: Fri, 2 Mar 2018 21:44:42 +0100
+Subject: freecell KDE
+
+Only the freecell game would not start on KDE. This is probably a bug in xwin.c
+or KDE itself but fortunately we can work around it. Thanks to Esa Peuha for
+the insight and patch.
+
+Bug-Debian: https://bugs.debian.org/883707
+---
+ games/freecell.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/games/freecell.c b/games/freecell.c
+index 1fac238..cd035a2 100644
+--- a/games/freecell.c
++++ b/games/freecell.c
+@@ -71,10 +71,10 @@ init()
+
+ for (s=0; s<4; s++)
+ {
+- freecells[s] = stack_create(s*W, 0);
++ freecells[s] = stack_create(s*W, 1);
+ stack_set_empty_picture(freecells[s], empty);
+
+- outcells[s] = stack_create(4*W+9*M+s*W, 0);
++ outcells[s] = stack_create(4*W+9*M+s*W, 1);
+ stack_set_empty_picture(outcells[s], empty);
+ }
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..67f1cdf
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+freecell-KDE.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ace-of-penguins.git
More information about the Pkg-games-commits
mailing list