- release 52 (by relup.sh)
[packages/apache-mod_python.git] / build.patch
CommitLineData
97e00cf4
JR
1diff -urNp -x '*.orig' mod_python-3.5.0.org/src/_apachemodule.c mod_python-3.5.0/src/_apachemodule.c
2--- mod_python-3.5.0.org/src/_apachemodule.c 2013-11-12 04:21:34.000000000 +0100
3+++ mod_python-3.5.0/src/_apachemodule.c 2021-03-02 22:05:35.930030347 +0100
40b375e4
AM
4@@ -836,7 +836,7 @@ static struct PyModuleDef _apache_module
5
6 PyObject *_apache_module_init()
7 {
8- PyObject *m, *d, *o;
9+ PyObject *m, *d, *o, *mod;
10
11 PyType_Ready(&MpTable_Type);
12 PyType_Ready(&MpTableIter_Type);
13@@ -851,7 +851,7 @@ PyObject *_apache_module_init()
14 #else
15 m = PyModule_Create(&_apache_moduledef);
16 PyObject *name = PyUnicode_FromString("_apache");
17- _PyImport_FixupExtensionObject(m, name, name);
18+ _PyImport_FixupExtensionObject(m, name, name, mod);
19 #endif
20 d = PyModule_GetDict(m);
21 Mp_ServerReturn = PyErr_NewException("_apache.SERVER_RETURN", NULL, NULL);
This page took 0.056685 seconds and 4 git commands to generate.