--- /dev/null
+--- 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>");
Summary(pl.UTF-8): Zbieranie informacji o systemie w plikach RRD
Name: collectd
Version: 5.8.0
-Release: 4
+Release: 5
License: GPL v2
Group: Daemons
Source0: http://collectd.org/files/%{name}-%{version}.tar.bz2
Source10: %{name}-df.conf
Source11: %{name}-rrdtool.conf
Patch0: %{name}-collection.patch
+Patch1: %{name}-python.patch
Patch2: noquote.patch
URL: http://collectd.org/
%{?with_ipmi:BuildRequires: OpenIPMI-devel >= 2.0.14-3}
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%patch2 -p1
%build