MSYS2-packages/python/012-3.8-pep3149-cygwin.patch
Christoph Reiter 5978b5b570 python: Update to 3.11
* 006-3.7-ftm.patch: code no longer exists and builds fine without
* 010-3.8-nis-cygwin.patch: code no longer exists and builds fine without
* 012-3.8-pep3149-cygwin.patch: refreshed
* 013-3.8-tkinter-cygwin.patch: code no longer exists and builds fine without
* 28881-backport.patch, 930-fix-missing-tcp-include.patch: included in the new release
* 970-ossaudiodev.patch: work around "error: initializer element is not constant"

remove useless permissions change
2023-02-14 08:37:10 +01:00

29 lines
843 B
Diff

--- Python-3.8.0a3-orig/Python/dynload_shlib.c 2019-03-25 15:36:40.000000000 -0400
+++ Python-3.8.0a3/Python/dynload_shlib.c 2019-03-29 13:18:23.024414000 -0400
@@ -35,6 +35,8 @@
const char *_PyImport_DynLoadFiletab[] = {
#ifdef __CYGWIN__
+ "." SOABI ".dll",
+ ".abi" PYTHON_ABI_STRING ".dll",
".dll",
#else /* !__CYGWIN__ */
"." SOABI ".so",
--- Python-3.11.2/configure.ac.orig 2023-02-13 19:44:27.282349300 +0100
+++ Python-3.11.2/configure.ac 2023-02-13 20:30:23.784979600 +0100
@@ -1057,6 +1057,14 @@
darwin
#elif defined(__VXWORKS__)
vxworks
+#elif defined(__CYGWIN__)
+# if defined(__x86_64__)
+ x86_64-cygwin
+# elif defined(__i386__)
+ i386-cygwin
+# else
+# error unknown platform triplet
+# endif
#elif defined(__wasm32__)
# if defined(__EMSCRIPTEN__)
wasm32-emscripten