]> git.pld-linux.org Git - packages/collectd.git/blobdiff - collectd-python.patch
- rel 5; fix python build
[packages/collectd.git] / collectd-python.patch
diff --git a/collectd-python.patch b/collectd-python.patch
new file mode 100644 (file)
index 0000000..8992c54
--- /dev/null
@@ -0,0 +1,11 @@
+--- collectd-5.8.0/src/python.c~       2017-11-18 10:03:27.000000000 +0100
++++ collectd-5.8.0/src/python.c        2018-07-03 19:31:41.523756509 +0200
+@@ -1136,7 +1136,7 @@ static void *cpy_interactive(void *pipef
+     cpy_log_exception("interactive session init");
+   }
+   cur_sig = PyOS_setsig(SIGINT, python_sigint_handler);
+-  PyOS_AfterFork();
++  PyOS_AfterFork_Child();
+   PyEval_InitThreads();
+   close(*(int *)pipefd);
+   PyRun_InteractiveLoop(stdin, "<stdin>");
This page took 0.040775 seconds and 4 git commands to generate.