wok-stable diff python-pygame/stuff/config.patch @ rev 7979

Fix: firefox needs python to compile
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 17 17:59:07 2011 +0100 (2011-01-17)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-pygame/stuff/config.patch	Mon Jan 17 17:59:07 2011 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +Index: config_unix.py
     1.5 +===================================================================
     1.6 +--- config_unix.py	(revision 2567)
     1.7 ++++ config_unix.py	(working copy)
     1.8 +@@ -174,7 +174,7 @@
     1.9 + 
    1.10 +     for d in DEPS[1:]:
    1.11 +         if not d.found:
    1.12 +-            if not confirm("""
    1.13 ++            if "-auto" not in sys.argv and not confirm("""
    1.14 + Warning, some of the pygame dependencies were not found. Pygame can still
    1.15 + compile and install, but games that depend on those missing dependencies
    1.16 + will not run. Would you like to continue the configuration?"""):
    1.17 +Index: config_msys.py
    1.18 +===================================================================
    1.19 +--- config_msys.py	(revision 2567)
    1.20 ++++ config_msys.py	(working copy)
    1.21 +@@ -283,7 +283,7 @@
    1.22 +     
    1.23 +     for d in DEPS[1:]:
    1.24 +         if not d.found:
    1.25 +-            if not confirm("""
    1.26 ++            if "-auto" not in sys.argv and not confirm("""
    1.27 + Warning, some of the pygame dependencies were not found. Pygame can still
    1.28 + compile and install, but games that depend on those missing dependencies
    1.29 + will not run. Would you like to continue the configuration?"""):