Author: bdefreese
Date: 2009-04-15 14:53:49 +0000 (Wed, 15 Apr 2009)
New Revision: 9588

Added:
   packages/trunk/pathological/debian/patches/40_pygame_181.patch
Modified:
   packages/trunk/pathological/debian/changelog
   packages/trunk/pathological/debian/patches/series
Log:
  * 40_pygame_181.patch - Fix to run with pygame 1.8.1. (Closes: #523874).
    + Thanks to Andrea Mennucc for the fix.


Modified: packages/trunk/pathological/debian/changelog
===================================================================
--- packages/trunk/pathological/debian/changelog        2009-04-15 14:14:49 UTC 
(rev 9587)
+++ packages/trunk/pathological/debian/changelog        2009-04-15 14:53:49 UTC 
(rev 9588)
@@ -1,3 +1,11 @@
+pathological (1.1.3-10) unstable; urgency=low
+
+  [ Barry deFreese ]
+  * 40_pygame_181.patch - Fix to run with pygame 1.8.1. (Closes: #523874).
+    + Thanks to Andrea Mennucc for the fix.
+
+ -- Barry deFreese <[email protected]>  Wed, 15 Apr 2009 10:51:13 -0400
+
 pathological (1.1.3-9) unstable; urgency=low
 
   [ Gonéri Le Bouder ]

Added: packages/trunk/pathological/debian/patches/40_pygame_181.patch
===================================================================
--- packages/trunk/pathological/debian/patches/40_pygame_181.patch              
                (rev 0)
+++ packages/trunk/pathological/debian/patches/40_pygame_181.patch      
2009-04-15 14:53:49 UTC (rev 9588)
@@ -0,0 +1,12 @@
+Index: pathological-1.1.3.orig/pathological.py
+===================================================================
+--- pathological-1.1.3.orig.orig/pathological.py       2009-04-15 
10:50:11.000000000 -0400
++++ pathological-1.1.3.orig/pathological.py    2009-04-15 10:50:56.000000000 
-0400
+@@ -169,6 +169,7 @@
+       if not pygame.mixer or not pygame.mixer.music:
+               print "Background music not available."
+               return
++      pygame.mixer.music.stop()
+       fullname = os.path.join('music', name)
+       try:
+               pygame.mixer.music.load(fullname)

Modified: packages/trunk/pathological/debian/patches/series
===================================================================
--- packages/trunk/pathological/debian/patches/series   2009-04-15 14:14:49 UTC 
(rev 9587)
+++ packages/trunk/pathological/debian/patches/series   2009-04-15 14:53:49 UTC 
(rev 9588)
@@ -1,3 +1,4 @@
 10_makefile.patch
 20_highscores.patch
 30_no_soundcard.patch
+40_pygame_181.patch


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to