packages: python-pygame/python-pygame-porttime.patch (NEW) - fix build with...

lisu lisu at pld-linux.org
Sat Jan 29 00:34:30 CET 2011


Author: lisu                         Date: Fri Jan 28 23:34:30 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix build with new portmidi

---- Files affected:
packages/python-pygame:
   python-pygame-porttime.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/python-pygame/python-pygame-porttime.patch
diff -u /dev/null packages/python-pygame/python-pygame-porttime.patch:1.1
--- /dev/null	Sat Jan 29 00:34:30 2011
+++ packages/python-pygame/python-pygame-porttime.patch	Sat Jan 29 00:34:25 2011
@@ -0,0 +1,26 @@
+diff --git a/config_unix.py b/config_unix.py
+index c888c28..942a750 100644
+--- a/config_unix.py
++++ b/config_unix.py
+@@ -147,7 +147,7 @@ def main():
+         Dependency('JPEG', 'jpeglib.h', 'libjpeg', ['jpeg']),
+         Dependency('SCRAP', '', 'libX11', ['X11']),
+         Dependency('PORTMIDI', 'portmidi.h', 'libportmidi.so', ['portmidi']),
+-        Dependency('PORTTIME', 'porttime.h', 'libporttime.so', ['porttime']),
++        Dependency('PORTTIME', 'porttime.h', 'libportmidi.so', ['portmidi']),
+         #Dependency('GFX', 'SDL_gfxPrimitives.h', 'libSDL_gfx.so', ['SDL_gfx']),
+     ]
+     if not DEPS[0].found:
+diff --git a/Setup.in b/Setup.in
+index 4bb6c1c..c90174f 100644
+--- a/Setup.in
++++ b/Setup.in
+@@ -16,7 +16,7 @@ PNG = -lpng
+ JPEG = -ljpeg
+ SCRAP = -lX11
+ PORTMIDI = -lportmidi
+-PORTTIME = -lporttime
++PORTTIME = 
+ #--EndConfig
+ 
+ #DEBUG = -C-W -C-Wall
================================================================


More information about the pld-cvs-commit mailing list