diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-10-16 05:09:00 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-10-16 05:09:00 +0000 |
commit | cf4b2a6927cded8aa2e6dc44b9d29d1b6f1f4bce (patch) | |
tree | 394f35909d7f0786c700539ba45d6ffda31c8cfc /games-puzzle/pathological/files | |
parent | Added ~mips to KEYWORDS. (diff) | |
download | gentoo-2-cf4b2a6927cded8aa2e6dc44b9d29d1b6f1f4bce.tar.gz gentoo-2-cf4b2a6927cded8aa2e6dc44b9d29d1b6f1f4bce.tar.bz2 gentoo-2-cf4b2a6927cded8aa2e6dc44b9d29d1b6f1f4bce.zip |
Fix "music_pending_song is not defined" bug in music handling #109272 by revenger.
(Portage version: 2.0.53_rc5)
Diffstat (limited to 'games-puzzle/pathological/files')
-rw-r--r-- | games-puzzle/pathological/files/digest-pathological-1.1.3-r1 | 1 | ||||
-rw-r--r-- | games-puzzle/pathological/files/pathological-1.1.3-music-py.patch | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/games-puzzle/pathological/files/digest-pathological-1.1.3-r1 b/games-puzzle/pathological/files/digest-pathological-1.1.3-r1 new file mode 100644 index 000000000000..6e8753cc1e88 --- /dev/null +++ b/games-puzzle/pathological/files/digest-pathological-1.1.3-r1 @@ -0,0 +1 @@ +MD5 76a446080c0fed12baf39354d8e0ce4a pathological-1.1.3.tar.gz 6995274 diff --git a/games-puzzle/pathological/files/pathological-1.1.3-music-py.patch b/games-puzzle/pathological/files/pathological-1.1.3-music-py.patch new file mode 100644 index 000000000000..9d67085dd13a --- /dev/null +++ b/games-puzzle/pathological/files/pathological-1.1.3-music-py.patch @@ -0,0 +1,23 @@ +Make sure music_pending_song is defined before we try using it + +http://bugs.gentoo.org/109272 + +--- pathological.py ++++ pathological.py +@@ -28,6 +28,7 @@ + colorblind = 0 + sound_on = 1 + music_on = 1 ++music_pending_song = 0 + for arg in sys.argv[1:]: + if arg == '-s': + screenshot = 1 +@@ -194,7 +195,7 @@ + sound_on = sound_on ^ 1 + + def toggle_music(): +- global music_on ++ global music_pending_song, music_on + music_on = music_on ^ 1 + if music_on: + if music_pending_song: |