diff options
Diffstat (limited to 'lang/python32/files')
-rw-r--r-- | lang/python32/files/patch-Lib-test-test_fcntl.py | 2 | ||||
-rw-r--r-- | lang/python32/files/patch-Lib-test_regrtest.py | 7 | ||||
-rw-r--r-- | lang/python32/files/patch-setup.py | 4 |
3 files changed, 7 insertions, 6 deletions
diff --git a/lang/python32/files/patch-Lib-test-test_fcntl.py b/lang/python32/files/patch-Lib-test-test_fcntl.py index 62104a2da20e..bc3987953d67 100644 --- a/lang/python32/files/patch-Lib-test-test_fcntl.py +++ b/lang/python32/files/patch-Lib-test-test_fcntl.py @@ -5,7 +5,7 @@ 'Darwin1.2', 'darwin', 'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5', - 'freebsd6', 'freebsd7', 'freebsd8', -+ 'freebsd6', 'freebsd7', 'freebsd8', 'freebsd9', ++ 'freebsd6', 'freebsd7', 'freebsd8', 'freebsd9', 'freebsd10' 'bsdos2', 'bsdos3', 'bsdos4', 'openbsd', 'openbsd2', 'openbsd3', 'openbsd4'): if struct.calcsize('l') == 8: diff --git a/lang/python32/files/patch-Lib-test_regrtest.py b/lang/python32/files/patch-Lib-test_regrtest.py index d10cb99056e6..f3337036cefc 100644 --- a/lang/python32/files/patch-Lib-test_regrtest.py +++ b/lang/python32/files/patch-Lib-test_regrtest.py @@ -1,10 +1,11 @@ ---- Lib/test/regrtest.py.orgi 2009-11-26 13:29:08.000000000 +0100 -+++ Lib/test/regrtest.py 2009-11-26 13:29:37.000000000 +0100 -@@ -1146,6 +1146,7 @@ +--- Lib/test/regrtest.py.orig 2011-09-03 18:16:43.000000000 +0200 ++++ Lib/test/regrtest.py 2011-10-28 11:26:04.000000000 +0200 +@@ -1522,6 +1522,8 @@ _expectations['freebsd6'] = _expectations['freebsd4'] _expectations['freebsd7'] = _expectations['freebsd4'] _expectations['freebsd8'] = _expectations['freebsd4'] +_expectations['freebsd9'] = _expectations['freebsd4'] ++_expectations['freebsd10'] = _expectations['freebsd4'] class _ExpectedSkips: def __init__(self): diff --git a/lang/python32/files/patch-setup.py b/lang/python32/files/patch-setup.py index 78ebd9ab74b7..e79da3d11fb6 100644 --- a/lang/python32/files/patch-setup.py +++ b/lang/python32/files/patch-setup.py @@ -55,7 +55,7 @@ libraries = [] - elif platform in ('freebsd4', 'freebsd5', 'freebsd6', 'freebsd7', 'freebsd8'): -+ elif platform in ('freebsd7', 'freebsd8', 'freebsd9'): ++ elif platform in ('freebsd7', 'freebsd8', 'freebsd9', 'freebsd10'): # FreeBSD's P1003.1b semaphore support is very experimental # and has many known problems. (as of June 2008) macros = dict() @@ -65,7 +65,7 @@ # Platform-specific libraries - if (platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6', - 'freebsd7', 'freebsd8') -+ if (platform in ('freebsd7', 'freebsd8', 'freebsd9') ++ if (platform in ('freebsd7', 'freebsd8', 'freebsd9', 'freebsd10') or platform.startswith("gnukfreebsd")): exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) ) else: |