summaryrefslogtreecommitdiff
path: root/package/python2/patches/patch-setup_py
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-04 22:39:28 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-04 22:39:28 +0100
commit04b4332e8476769c558b3c75c5b88792ac0c95a3 (patch)
tree6fe3546dc71bb10074e4eac33908f40db96e27d8 /package/python2/patches/patch-setup_py
parent6c7ce319e1e1e00958184349a0396ee7c5262c66 (diff)
add zlib dependency, fix binascii module build
Diffstat (limited to 'package/python2/patches/patch-setup_py')
-rw-r--r--package/python2/patches/patch-setup_py13
1 files changed, 12 insertions, 1 deletions
diff --git a/package/python2/patches/patch-setup_py b/package/python2/patches/patch-setup_py
index c0806af13..20739d746 100644
--- a/package/python2/patches/patch-setup_py
+++ b/package/python2/patches/patch-setup_py
@@ -1,5 +1,5 @@
--- Python-2.7.orig/setup.py 2010-06-27 14:36:16.000000000 +0200
-+++ Python-2.7/setup.py 2010-09-25 22:04:01.234088816 +0200
++++ Python-2.7/setup.py 2010-11-04 22:25:30.000000000 +0100
@@ -21,7 +21,7 @@ from distutils.spawn import find_executa
COMPILED_WITH_PYDEBUG = hasattr(sys, 'gettotalrefcount')
@@ -46,3 +46,14 @@
def get_platform(self):
# Get value of sys.platform
+@@ -347,8 +317,8 @@ class PyBuildExt(build_ext):
+
+ def detect_modules(self):
+ # Ensure that /usr/local is always used
+- add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
+- add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
++ #add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
++ #add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
+
+ # Add paths specified in the environment variables LDFLAGS and
+ # CPPFLAGS for header and library files.