diff --git a/dev-lang/python/patches/python-2.6.7.patch b/dev-lang/python/patches/python-2.6.7.patch index 76037312b..aab2a356e 100644 --- a/dev-lang/python/patches/python-2.6.7.patch +++ b/dev-lang/python/patches/python-2.6.7.patch @@ -556,3 +556,13 @@ diff -urN Python-2.6.7/setup.py Python-2.6.7-haiku/setup.py find_file('rpcsvc/yp_prot.h', inc_dirs, []) is not None): if (self.compiler.find_library_file(lib_dirs, 'nsl')): libs = ['nsl'] +--- Python-2.6.7/Lib/test/test_fileio.py 2012-07-26 23:04:42.208666624 +0000 ++++ Python-2.6.7-haiku/Lib/test/test_fileio.py 2012-07-26 23:05:09.382730240 +0000 +@@ -152,6 +152,7 @@ + self.assertEquals(f.writable(), True) + if sys.platform != "darwin" and \ + 'bsd' not in sys.platform and \ ++ 'haiku' not in sys.platform and \ + not sys.platform.startswith('sunos'): + # Somehow /dev/tty appears seekable on some BSDs + self.assertEquals(f.seekable(), False)