summaryrefslogtreecommitdiff
path: root/package/python2/patches
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
parent6c7ce319e1e1e00958184349a0396ee7c5262c66 (diff)
add zlib dependency, fix binascii module build
Diffstat (limited to 'package/python2/patches')
-rw-r--r--package/python2/patches/patch-configure4
-rw-r--r--package/python2/patches/patch-setup_py13
2 files changed, 14 insertions, 3 deletions
diff --git a/package/python2/patches/patch-configure b/package/python2/patches/patch-configure
index 788a6c14c..b2c0f2ccd 100644
--- a/package/python2/patches/patch-configure
+++ b/package/python2/patches/patch-configure
@@ -1,5 +1,5 @@
--- Python-2.7.orig/configure 2010-05-28 17:28:47.000000000 +0200
-+++ Python-2.7/configure 2010-11-04 17:41:01.981773166 +0100
++++ Python-2.7/configure 2010-11-04 22:17:32.000000000 +0100
@@ -2972,12 +2972,12 @@ fi
$as_echo_n "checking MACHDEP... " >&6; }
if test -z "$MACHDEP"
@@ -20,7 +20,7 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking machine type as reported by uname -m" >&5
$as_echo_n "checking machine type as reported by uname -m... " >&6; }
-ac_sys_machine=`uname -m`
-+ac_sys_machine=@@CPU_ARCH@@
++ac_sys_machine=i586
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_sys_machine" >&5
$as_echo "$ac_sys_machine" >&6; }
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.