]> git.pld-linux.org Git - packages/gnome-abrt.git/blobdiff - gnome-abrt-python.patch
- rel 3; fix python 3.5 build
[packages/gnome-abrt.git] / gnome-abrt-python.patch
diff --git a/gnome-abrt-python.patch b/gnome-abrt-python.patch
new file mode 100644 (file)
index 0000000..c1afef1
--- /dev/null
@@ -0,0 +1,14 @@
+--- gnome-abrt-1.2.0/src/gnome_abrt/wrappers/module.c~ 2015-06-03 05:36:53.000000000 +0200
++++ gnome-abrt-1.2.0/src/gnome_abrt/wrappers/module.c  2015-09-18 09:37:15.949588371 +0200
+@@ -41,7 +41,11 @@
+             .m_doc = module_doc,
+             .m_size = -1,
+             .m_methods = module_methods,
++#if PY_MAJOR_VERSION >= 3 && PY_MINOR_VERSION >= 5
++            .m_slots = NULL,
++#else
+             .m_reload = NULL,
++#endif
+             .m_traverse = NULL,
+             .m_clear = NULL,
+             .m_free = NULL,
This page took 0.042188 seconds and 4 git commands to generate.