Removed unused patch

This commit is contained in:
wiz 2014-01-23 18:45:16 +00:00
parent daf2449515
commit 046e9bbbe3

View file

@ -1,32 +0,0 @@
$NetBSD: patch-aa,v 1.10 2012/04/17 17:17:03 drochner Exp $
--- setupext.py.orig 2011-10-06 14:50:23.000000000 +0000
+++ setupext.py
@@ -221,12 +221,7 @@ sysconfig.customize_compiler = my_custom
def run_child_process(cmd):
- p = subprocess.Popen(cmd, shell=True,
- stdin=subprocess.PIPE,
- stdout=subprocess.PIPE,
- stderr=subprocess.STDOUT,
- close_fds=(sys.platform != 'win32'))
- return p.stdin, p.stdout
+ return None, os.popen(cmd + " 2>&1")
class CleanUpFile:
"""CleanUpFile deletes the specified filename when self is destroyed."""
@@ -364,11 +359,8 @@ def check_for_libpng():
return True
def add_base_flags(module):
- incdirs = filter(os.path.exists,
- [os.path.join(p, 'include') for p in basedirlist ])
- libdirs = filter(os.path.exists,
- [os.path.join(p, 'lib') for p in basedirlist ]+
- [os.path.join(p, 'lib64') for p in basedirlist ] )
+ incdirs = [os.path.join(os.environ['LOCALBASE'], 'include')]
+ libdirs = [os.path.join(os.environ['LOCALBASE'], 'lib')]
module.include_dirs.extend(incdirs)
module.include_dirs.append('.')