* 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
21 lines
749 B
Diff
21 lines
749 B
Diff
--- 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*/
|