summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-06-24 01:04:09 +0000
committerMike Frysinger <vapier@gentoo.org>2005-06-24 01:04:09 +0000
commitbfe938336632a53891a18236a22ab99486f4a7b3 (patch)
treef5096dc275f2dd253ead73546bfb811e9def03bf /games-board/pysol/files
parentMarked ppc stable. (diff)
downloadhistorical-bfe938336632a53891a18236a22ab99486f4a7b3.tar.gz
historical-bfe938336632a53891a18236a22ab99486f4a7b3.tar.bz2
historical-bfe938336632a53891a18236a22ab99486f4a7b3.zip
Install the source to fix #81176 by David Ripton and fix an assert error #94234 by Mark Knecht.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'games-board/pysol/files')
-rw-r--r--games-board/pysol/files/digest-pysol-4.82-r12
-rw-r--r--games-board/pysol/files/pysol-4.82-sound-ok.patch22
2 files changed, 24 insertions, 0 deletions
diff --git a/games-board/pysol/files/digest-pysol-4.82-r1 b/games-board/pysol/files/digest-pysol-4.82-r1
new file mode 100644
index 000000000000..b6f4f3d021f3
--- /dev/null
+++ b/games-board/pysol/files/digest-pysol-4.82-r1
@@ -0,0 +1,2 @@
+MD5 31a3ed96c6feb54717c6bce9ddd82b24 pysol-4.82.tar.bz2 3586977
+MD5 be0fd45c016fe2dcacb03fb29871aff4 pysol-4.82-src.tar.bz2 150515
diff --git a/games-board/pysol/files/pysol-4.82-sound-ok.patch b/games-board/pysol/files/pysol-4.82-sound-ok.patch
new file mode 100644
index 000000000000..a6ab2af1cde0
--- /dev/null
+++ b/games-board/pysol/files/pysol-4.82-sound-ok.patch
@@ -0,0 +1,22 @@
+self.app.opt.sound is a boolean value while the
+self.tkopt.sound.set() function expects a 0 or 1.
+
+Small hack since i'm no python ninja.
+
+http://bugs.gentoo.org/94234
+
+--- src/actions.py
++++ src/actions.py
+@@ -753,7 +753,11 @@
+ def mOptSoundDialog(self, *args):
+ if self._cancelDrag(): return
+ d = SoundOptionsDialog(self.top, "Sound settings", self.app)
+- self.tkopt.sound.set(self.app.opt.sound)
++ if self.app.opt.sound:
++ setit = 1
++ else:
++ setit = 0
++ self.tkopt.sound.set(setit)
+
+ def mOptAnimations(self, *args):
+ if self._cancelDrag(): return