summaryrefslogtreecommitdiff
path: root/lang/python22/patches
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2002-01-28 09:12:07 +0000
committerdrochner <drochner@pkgsrc.org>2002-01-28 09:12:07 +0000
commit6029e044e2df776c898e3dd8f2fa5e2c86eb36bf (patch)
tree24f9bf56e93784d90d6a26acd1f016d221d02987 /lang/python22/patches
parentf028142fe50b599eca9b794e4c3a69c998abac8e (diff)
downloadpkgsrc-6029e044e2df776c898e3dd8f2fa5e2c86eb36bf.tar.gz
-don't build modules which don't work on 64-bit platforms
-don't even try to build the curses modules - its failure is detected during build but this causes a lot of noise
Diffstat (limited to 'lang/python22/patches')
-rw-r--r--lang/python22/patches/patch-aa35
1 files changed, 32 insertions, 3 deletions
diff --git a/lang/python22/patches/patch-aa b/lang/python22/patches/patch-aa
index 1f0e5a1b05d..1d9d71e6d4d 100644
--- a/lang/python22/patches/patch-aa
+++ b/lang/python22/patches/patch-aa
@@ -1,7 +1,36 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/01/15 17:11:03 drochner Exp $
+$NetBSD: patch-aa,v 1.2 2002/01/28 09:12:09 drochner Exp $
---- setup.py.orig Tue Jan 15 17:42:07 2002
-+++ setup.py Tue Jan 15 17:42:30 2002
+--- setup.py.orig Mon Dec 17 18:24:43 2001
++++ setup.py Sun Jan 27 13:33:55 2002
+@@ -314,13 +314,13 @@
+ # These represent audio samples or images as strings:
+
+ # Disabled on 64-bit platforms
+- if sys.maxint != 9223372036854775807L:
++# if sys.maxint != 9223372036854775807L:
+ # Operations on audio samples
+- exts.append( Extension('audioop', ['audioop.c']) )
++# exts.append( Extension('audioop', ['audioop.c']) )
+ # Operations on images
+- exts.append( Extension('imageop', ['imageop.c']) )
++# exts.append( Extension('imageop', ['imageop.c']) )
+ # Read SGI RGB image files (but coded portably)
+- exts.append( Extension('rgbimg', ['rgbimgmodule.c']) )
++# exts.append( Extension('rgbimg', ['rgbimgmodule.c']) )
+
+ # readline
+ if self.compiler.find_library_file(lib_dirs, 'readline'):
+@@ -481,8 +481,8 @@
+ else:
+ curses_libs = ['curses', 'termcap']
+
+- exts.append( Extension('_curses', ['_cursesmodule.c'],
+- libraries = curses_libs) )
++# exts.append( Extension('_curses', ['_cursesmodule.c'],
++# libraries = curses_libs) )
+
+ # If the curses module is enabled, check for the panel module
+ if (module_enabled(exts, '_curses') and
@@ -784,7 +784,7 @@
ext_modules=[Extension('struct', ['structmodule.c'])],