summaryrefslogtreecommitdiff
path: root/data/python/modules.diff
diff options
context:
space:
mode:
Diffstat (limited to 'data/python/modules.diff')
-rw-r--r--data/python/modules.diff32
1 files changed, 32 insertions, 0 deletions
diff --git a/data/python/modules.diff b/data/python/modules.diff
new file mode 100644
index 000000000..f5b9985b6
--- /dev/null
+++ b/data/python/modules.diff
@@ -0,0 +1,32 @@
+diff -ru Python-2.5.1/setup.py Python-2.5.1+iPhone/setup.py
+--- Python-2.5.1/setup.py 2007-02-14 12:53:41.000000000 +0000
++++ Python-2.5.1+iPhone/setup.py 2008-01-09 12:43:58.000000000 +0000
+@@ -460,8 +430,7 @@
+ # 64-bit platforms.
+ exts.append( Extension('audioop', ['audioop.c']) )
+
+- # Disabled on 64-bit platforms
+- if sys.maxint != 9223372036854775807L:
++ if True:
+ # Operations on images
+ exts.append( Extension('imageop', ['imageop.c']) )
+ # Read SGI RGB image files (but coded portably)
+@@ -606,7 +577,7 @@
+ # a release. Most open source OSes come with one or more
+ # versions of BerkeleyDB already installed.
+
+- max_db_ver = (4, 5)
++ max_db_ver = (4, 6)
+ min_db_ver = (3, 3)
+ db_setup_debug = False # verbose debug prints from this script?
+
+@@ -1025,8 +996,7 @@
+ exts.append(Extension('_codecs_' + loc,
+ ['cjkcodecs/_codecs_%s.c' % loc]))
+
+- # Dynamic loading module
+- if sys.maxint == 0x7fffffff:
++ if True:
+ # This requires sizeof(int) == sizeof(long) == sizeof(char*)
+ dl_inc = find_file('dlfcn.h', [], inc_dirs)
+ if (dl_inc is not None) and (platform not in ['atheos']):