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
commit44e5fef583df87a9988f552419952f4858cb0aec (patch)
treee16a3535a52c7004bd66ae536f586d5a8040c645 /games-board/pysol/files
parentMarked ppc stable. (diff)
downloadgentoo-2-44e5fef583df87a9988f552419952f4858cb0aec.tar.gz
gentoo-2-44e5fef583df87a9988f552419952f4858cb0aec.tar.bz2
gentoo-2-44e5fef583df87a9988f552419952f4858cb0aec.zip
Install the source to fix #81176 by David Ripton and fix an assert error #94234 by Mark Knecht.
(Portage version: 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