tags 705417 patch
thanks

It seems the issue is widely known.

https://bugs.launchpad.net/ubuntu/+source/pathological/+bug/214754
http://bugs.gentoo.org/109272

After a quick search i have also found an old gentoo patch which has
been applied since 2005.

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/games-puzzle/pathological/files/pathological-1.1.3-music-py.patch?revision=1.1&view=markup

I'm attaching this patch and i can confirm that it solves the problem.


Markus


From: Markus Koschany <[email protected]>
Date: Mon, 15 Apr 2013 00:27:06 +0200
Subject: define music_pending_song

Bug: http://bugs.debian.org/705417

Taken from the Gentoo distribution, pathological-1.1.3-music-py.patch.
The original patch was presumably created by "vapier". See also
http://bugs.gentoo.org/109272

---
 pathological.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pathological.py b/pathological.py
index e8b1f84..8ccadc6 100755
--- a/pathological.py
+++ b/pathological.py
@@ -30,6 +30,7 @@ fullscreen = 0
 colorblind = 0
 sound_on = 1
 music_on = 1
+music_pending_song = 0
 for arg in sys.argv[1:]:
 	if arg == '-s':
 		screenshot = 1
@@ -196,7 +197,7 @@ def toggle_sound():
 	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:

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to