summaryrefslogtreecommitdiff
path: root/lang/python27/files/patch-setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python27/files/patch-setup.py')
-rw-r--r--lang/python27/files/patch-setup.py26
1 files changed, 13 insertions, 13 deletions
diff --git a/lang/python27/files/patch-setup.py b/lang/python27/files/patch-setup.py
index 6c3470873905..f793c0bb19f1 100644
--- a/lang/python27/files/patch-setup.py
+++ b/lang/python27/files/patch-setup.py
@@ -1,5 +1,5 @@
---- setup.py.orig 2010-06-27 20:36:16.000000000 +0800
-+++ setup.py 2010-09-03 09:23:13.000000000 +0800
+--- setup.py.orig 2011-06-11 17:46:28.000000000 +0200
++++ setup.py 2011-10-18 12:05:34.000000000 +0200
@@ -21,7 +21,7 @@
COMPILED_WITH_PYDEBUG = hasattr(sys, 'gettotalrefcount')
@@ -9,7 +9,7 @@
def add_dir_to_list(dirlist, dir):
"""Add the directory 'dir' to the list 'dirlist' (at the front) if
-@@ -608,7 +608,7 @@
+@@ -642,7 +642,7 @@
# use the same library for the readline and curses modules.
if 'curses' in readline_termcap_library:
curses_library = readline_termcap_library
@@ -18,7 +18,7 @@
curses_library = 'ncursesw'
elif self.compiler.find_library_file(lib_dirs, 'ncurses'):
curses_library = 'ncurses'
-@@ -647,7 +647,7 @@
+@@ -681,7 +681,7 @@
'termcap'):
readline_libs.append('termcap')
exts.append( Extension('readline', ['readline.c'],
@@ -27,7 +27,7 @@
extra_link_args=readline_extra_link_args,
libraries=readline_libs) )
else:
-@@ -749,6 +749,8 @@
+@@ -783,6 +783,8 @@
# OpenSSL doesn't do these until 0.9.8 so we'll bring our own hash
exts.append( Extension('_sha256', ['sha256module.c']) )
exts.append( Extension('_sha512', ['sha512module.c']) )
@@ -36,7 +36,7 @@
# Modules that provide persistent dictionary-like semantics. You will
# probably want to arrange for at least one of them to be available on
-@@ -1086,7 +1088,7 @@
+@@ -1120,7 +1122,7 @@
sysroot = macosx_sdk_root()
f = os.path.join(sysroot, f[1:])
@@ -45,7 +45,7 @@
data = open(f).read()
m = re.search(r"#s*define\s+HASHVERSION\s+2\s*", data)
if m is not None:
-@@ -1212,12 +1214,13 @@
+@@ -1246,12 +1248,13 @@
# provided by the ncurses library.
panel_library = 'panel'
if curses_library.startswith('ncurses'):
@@ -60,7 +60,7 @@
libraries = curses_libs) )
elif curses_library == 'curses' and platform != 'darwin':
# OSX has an old Berkeley curses, not good enough for
-@@ -1230,6 +1233,7 @@
+@@ -1264,6 +1267,7 @@
curses_libs = ['curses']
exts.append( Extension('_curses', ['_cursesmodule.c'],
@@ -68,25 +68,25 @@
libraries = curses_libs) )
else:
missing.append('_curses')
-@@ -1398,7 +1402,7 @@
+@@ -1432,7 +1436,7 @@
macros = dict()
libraries = []
- elif platform in ('freebsd4', 'freebsd5', 'freebsd6', 'freebsd7', 'freebsd8'):
-+ elif platform in ('freebsd4', 'freebsd5', 'freebsd6', 'freebsd7', 'freebsd8', 'freebsd9'):
++ elif platform in ('freebsd4', 'freebsd5', 'freebsd6', 'freebsd7', 'freebsd8', 'freebsd9', 'freebsd10'):
# FreeBSD's P1003.1b semaphore support is very experimental
# and has many known problems. (as of June 2008)
macros = dict()
-@@ -1450,7 +1454,7 @@
+@@ -1484,7 +1488,7 @@
missing.append('linuxaudiodev')
if (platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6',
- 'freebsd7', 'freebsd8')
-+ 'freebsd7', 'freebsd8', 'freebsd9')
++ 'freebsd7', 'freebsd8', 'freebsd9', 'freebsd10')
or platform.startswith("gnukfreebsd")):
exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) )
else:
-@@ -2032,9 +2036,7 @@
+@@ -2066,9 +2070,7 @@
ext_modules=[Extension('_struct', ['_struct.c'])],
# Scripts to install