diff options
Diffstat (limited to 'dev-python/pyopenal/files/pyopenal-0.1.6-setup.patch')
-rw-r--r-- | dev-python/pyopenal/files/pyopenal-0.1.6-setup.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-python/pyopenal/files/pyopenal-0.1.6-setup.patch b/dev-python/pyopenal/files/pyopenal-0.1.6-setup.patch new file mode 100644 index 00000000000..f9ef9f3c033 --- /dev/null +++ b/dev-python/pyopenal/files/pyopenal-0.1.6-setup.patch @@ -0,0 +1,20 @@ +diff -urN PyOpenAL-0.1.6.orig/setup.py PyOpenAL-0.1.6/setup.py +--- PyOpenAL-0.1.6.orig/setup.py 2006-04-30 11:23:44.000000000 -0400 ++++ PyOpenAL-0.1.6/setup.py 2006-06-13 12:15:46.000000000 -0400 +@@ -4,16 +4,6 @@ + LIBDIRS = ["/usr/lib", "/usr/local/lib"] + LIBS = ["openal", "alut"] + +-try: +- openal_version = os.popen("openal-config --version").read() +- if openal_version[0] == "0": +- LIBDIRS = ["/usr/lib", "/usr/local/lib"] +- LIBS = ["openal"] +- +-except: +- print "Warning: error while running 'openal-config --version', using default values..." +- +- + setup( + name = "PyOpenAL", + version = "0.1.6", |