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
This commit is contained in:
Christoph Reiter
2023-02-13 21:31:18 +01:00
parent ac720b4ee1
commit 5978b5b570
8 changed files with 34 additions and 155 deletions

View File

@@ -0,0 +1,20 @@
--- Python-3.11.2/Modules/ossaudiodev.c.orig 2023-02-07 14:37:51.000000000 +0100
+++ Python-3.11.2/Modules/ossaudiodev.c 2023-02-13 20:51:13.398293500 +0100
@@ -964,7 +964,7 @@
};
static PyTypeObject OSSAudioType = {
- PyVarObject_HEAD_INIT(&PyType_Type, 0)
+ PyVarObject_HEAD_INIT(NULL, 0)
"ossaudiodev.oss_audio_device", /*tp_name*/
sizeof(oss_audio_t), /*tp_basicsize*/
0, /*tp_itemsize*/
@@ -998,7 +998,7 @@
};
static PyTypeObject OSSMixerType = {
- PyVarObject_HEAD_INIT(&PyType_Type, 0)
+ PyVarObject_HEAD_INIT(NULL, 0)
"ossaudiodev.oss_mixer_device", /*tp_name*/
sizeof(oss_mixer_t), /*tp_basicsize*/
0, /*tp_itemsize*/