diff --git a/dev-lang/python/patches/python3-3.6.2.patchset b/dev-lang/python/patches/python3-3.6.3.patchset similarity index 97% rename from dev-lang/python/patches/python3-3.6.2.patchset rename to dev-lang/python/patches/python3-3.6.3.patchset index e9ba15656..351125480 100644 --- a/dev-lang/python/patches/python3-3.6.2.patchset +++ b/dev-lang/python/patches/python3-3.6.3.patchset @@ -1,4 +1,4 @@ -From 74a0b292a4ae813bd7d145a28a265be0fbdeed71 Mon Sep 17 00:00:00 2001 +From df1c3f43f961a7085dd4e27162bb911120bb2585 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Thu, 10 Apr 2014 16:03:33 +0000 Subject: initial Haiku patch @@ -168,7 +168,7 @@ index 57a0265..ea316a7 100644 # Somehow /dev/tty appears seekable on some BSDs self.assertEqual(f.seekable(), False) diff --git a/Makefile.pre.in b/Makefile.pre.in -index 82e8307..0b9a49b 100644 +index 6cb0c63..a41df16 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -132,7 +132,7 @@ BINDIR= @bindir@ @@ -280,10 +280,10 @@ index 113ad5c..b9de0ab 100644 #endif diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c -index 42aec59..99940dc 100644 +index a351faa..4d5a936 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c -@@ -6847,7 +6847,9 @@ PyInit__socket(void) +@@ -6852,7 +6852,9 @@ PyInit__socket(void) /* SOCK_RAW is marked as optional in the POSIX specification */ PyModule_AddIntMacro(m, SOCK_RAW); #endif @@ -309,7 +309,7 @@ index 03f982b..623b98a 100644 #include #include diff --git a/Modules/spwdmodule.c b/Modules/spwdmodule.c -index 556a715..5044d19 100644 +index 1601ec0..a4211be 100644 --- a/Modules/spwdmodule.c +++ b/Modules/spwdmodule.c @@ -87,7 +87,9 @@ static PyObject *mkspent(struct spwd *p) @@ -323,7 +323,7 @@ index 556a715..5044d19 100644 SETI(setIndex++, p->sp_max); SETI(setIndex++, p->sp_warn); diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c -index 597e26e..8530f46 100644 +index 911e2ba..994397e 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -21,7 +21,7 @@ @@ -361,7 +361,7 @@ index 4363c0c..40994b0 100755 def main(): global filedict diff --git a/configure.ac b/configure.ac -index 9620067..409bb47 100644 +index e400fa1..2b316b4 100644 --- a/configure.ac +++ b/configure.ac @@ -1157,6 +1157,16 @@ if test $enable_shared = "yes"; then @@ -438,7 +438,7 @@ index 9620067..409bb47 100644 esac AC_MSG_CHECKING(for --with-libm=STRING) diff --git a/setup.py b/setup.py -index fe47797..33b5c1d 100644 +index 1cd1503..21b0de2 100644 --- a/setup.py +++ b/setup.py @@ -480,8 +480,8 @@ class PyBuildExt(build_ext): @@ -523,21 +523,21 @@ index fe47797..33b5c1d 100644 if (self.compiler.find_library_file(lib_dirs, 'nsl')): libs = ['nsl'] -- -2.13.3 +2.14.2 -From 63030dfb8099b294af9b670dde71108c6a81f939 Mon Sep 17 00:00:00 2001 +From 911f42e9ea41c63fa2cbe8fa5f0f0ec3e0c02d8d Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sun, 16 Apr 2017 10:05:42 +0200 Subject: fix for negative errnos diff --git a/Lib/subprocess.py b/Lib/subprocess.py -index b790cbd..25f8555 100644 +index 290ae44..95ec9d3 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py -@@ -1319,6 +1319,8 @@ class Popen(object): - err_msg = err_msg.decode(errors="surrogatepass") +@@ -1330,6 +1330,8 @@ class Popen(object): + SubprocessError) if issubclass(child_exception_type, OSError) and hex_errno: errno_num = int(hex_errno, 16) + if sys.platform.startswith('haiku'): @@ -561,10 +561,10 @@ index d1434d5..658cda9 100644 *--cur = Py_hexdigits[saved_errno % 16]; saved_errno /= 16; -- -2.13.3 +2.14.2 -From 6f591223c9c16b2e5b85643693b391634c5f5732 Mon Sep 17 00:00:00 2001 +From 1b7947af27024d62d80b5d795678b448144d0372 Mon Sep 17 00:00:00 2001 From: Philippe Houdoin Date: Wed, 24 May 2017 11:09:43 +0000 Subject: Implement CTypes's find_library for Haiku @@ -645,5 +645,5 @@ index 339ae8a..d537963 100644 print(cdll.LoadLibrary("libm.so")) print(cdll.LoadLibrary("libcrypt.so")) -- -2.13.3 +2.14.2 diff --git a/dev-lang/python/python3-3.6.2.recipe b/dev-lang/python/python3-3.6.3.recipe similarity index 97% rename from dev-lang/python/python3-3.6.2.recipe rename to dev-lang/python/python3-3.6.3.recipe index dab333165..3a73fc0bd 100644 --- a/dev-lang/python/python3-3.6.2.recipe +++ b/dev-lang/python/python3-3.6.3.recipe @@ -11,9 +11,9 @@ OSI-approved open source license. HOMEPAGE="http://www.python.org" LICENSE="Python" COPYRIGHT="1990-2017, Python Software Foundation" -REVISION="2" +REVISION="1" SOURCE_URI="https://www.python.org/ftp/python/$portVersion/Python-$portVersion.tar.xz" -CHECKSUM_SHA256="9229773be41ed144370f47f0f626a1579931f5a390f1e8e3853174d52edd64a9" +CHECKSUM_SHA256="cda7d967c9a4bfa52337cdf551bcc5cff026b6ac50a8834e568ce4a794ca81da" SOURCE_DIR="Python-$portVersion" PATCHES="python3-$portVersion.patchset"