summaryrefslogtreecommitdiff
path: root/lang/python26/files
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python26/files')
-rw-r--r--lang/python26/files/patch-Modules-Setup.dist12
-rw-r--r--lang/python26/files/patch-configure29
-rw-r--r--lang/python26/files/patch-setup.py15
3 files changed, 31 insertions, 25 deletions
diff --git a/lang/python26/files/patch-Modules-Setup.dist b/lang/python26/files/patch-Modules-Setup.dist
deleted file mode 100644
index 74b1ef29f224..000000000000
--- a/lang/python26/files/patch-Modules-Setup.dist
+++ /dev/null
@@ -1,12 +0,0 @@
---- Modules/Setup.dist Thu Aug 8 15:52:42 2002
-+++ Modules/Setup.dist.new Thu Nov 21 10:40:05 2002
-@@ -356,8 +356,7 @@
- # it is a highly experimental and dangerous device for calling
- # *arbitrary* C functions in *arbitrary* shared libraries:
-
--#dl dlmodule.c
--
-+dl dlmodule.c
-
- # Modules that provide persistent dictionary-like semantics. You will
- # probably want to arrange for at least one of them to be available on
diff --git a/lang/python26/files/patch-configure b/lang/python26/files/patch-configure
index c17e753795a5..6ee47894e12f 100644
--- a/lang/python26/files/patch-configure
+++ b/lang/python26/files/patch-configure
@@ -1,15 +1,24 @@
---- configure.orig Sun Jul 13 18:46:13 2003
-+++ configure Sat Jul 19 15:21:09 2003
-@@ -3288,6 +3288,12 @@
- RUNSHARED=LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH
- INSTSONAME="$LDLIBRARY".$SOVERSION
- ;;
+--- configure.orig Sat Oct 4 13:27:50 2003
++++ configure Sat Oct 4 13:29:05 2003
+@@ -1321,7 +1321,7 @@
+ VERSION=2.3
+
+
+-SOVERSION=1.0
++SOVERSION=1
+
+ # The later defininition of _XOPEN_SOURCE disables certain features
+ # on Linux, so we need _GNU_SOURCE to re-enable them (makedev, tm_zone).
+@@ -3594,6 +3594,12 @@
+ LDLIBRARY='libpython$(VERSION).so'
+ BLDLIBRARY='-L. -lpython$(VERSION)'
+ RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
++ INSTSONAME="$LDLIBRARY".$SOVERSION
++ ;;
+ FreeBSD*)
+ LDLIBRARY='libpython$(VERSION).so'
+ BLDLIBRARY='-L. -lpython$(VERSION)'
+ RUNSHARED=LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH
-+ INSTSONAME="$LDLIBRARY"
-+ ;;
+ INSTSONAME="$LDLIBRARY".$SOVERSION
+ ;;
hp*|HP*)
- LDLIBRARY='libpython$(VERSION).sl'
- BLDLIBRARY='-Wl,+b,$(LIBDIR) -L. -lpython$(VERSION)'
diff --git a/lang/python26/files/patch-setup.py b/lang/python26/files/patch-setup.py
index 63779f7d0fe0..d83025329ce0 100644
--- a/lang/python26/files/patch-setup.py
+++ b/lang/python26/files/patch-setup.py
@@ -1,5 +1,5 @@
---- setup.py.orig Thu Jul 10 21:48:39 2003
-+++ setup.py Sat Jul 19 16:27:04 2003
+--- setup.py.orig Wed Oct 22 00:41:15 2003
++++ setup.py Thu Oct 30 06:21:21 2003
@@ -15,7 +15,7 @@
from distutils.command.install_lib import install_lib
@@ -9,7 +9,16 @@
def add_dir_to_list(dirlist, dir):
"""Add the directory 'dir' to the list 'dirlist' (at the front) if
-@@ -1128,7 +1128,7 @@
+@@ -770,7 +770,7 @@
+ # Linux-specific modules
+ exts.append( Extension('linuxaudiodev', ['linuxaudiodev.c']) )
+
+- if platform in ('linux2', 'freebsd4'):
++ if platform in ('linux2', 'freebsd4', 'freebsd5'):
+ exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) )
+
+ if platform == 'sunos5':
+@@ -1140,7 +1140,7 @@
ext_modules=[Extension('struct', ['structmodule.c'])],
# Scripts to install