- release 40 (by relup.sh)
[packages/apache-mod_python.git] / build.patch
1 --- mod_python-3.5.0/src/_apachemodule.c~       2013-11-12 04:21:34.000000000 +0100
2 +++ mod_python-3.5.0/src/_apachemodule.c        2018-07-05 21:05:19.623844821 +0200
3 @@ -836,7 +836,7 @@ static struct PyModuleDef _apache_module
4  
5  PyObject *_apache_module_init()
6  {
7 -    PyObject *m, *d, *o;
8 +    PyObject *m, *d, *o, *mod;
9  
10      PyType_Ready(&MpTable_Type);
11      PyType_Ready(&MpTableIter_Type);
12 @@ -851,7 +851,7 @@ PyObject *_apache_module_init()
13  #else
14      m = PyModule_Create(&_apache_moduledef);
15      PyObject *name = PyUnicode_FromString("_apache");
16 -    _PyImport_FixupExtensionObject(m, name, name);
17 +    _PyImport_FixupExtensionObject(m, name, name, mod);
18  #endif
19      d = PyModule_GetDict(m);
20      Mp_ServerReturn = PyErr_NewException("_apache.SERVER_RETURN", NULL, NULL);
This page took 0.048965 seconds and 3 git commands to generate.