From 0a0b8a9fe86c4c4b065f0327c08f30db48c078ba Mon Sep 17 00:00:00 2001 From: Krzysztof Date: Wed, 12 Jun 2024 12:28:55 +0100 Subject: net-mgmt/collectd5: Fix build with python 3.11 While here: - Put SLURM option as broken, doesn't compile with slurm-wlm >= 21.x See also: https://github.com/collectd/collectd/issues/3959 - Update VARNISH lib depends: www/varnish6 -> www/varnish7 PR: 278686 --- net-mgmt/collectd5/files/patch-src_cpython.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net-mgmt/collectd5/files/patch-src_cpython.h (limited to 'net-mgmt/collectd5/files/patch-src_cpython.h') diff --git a/net-mgmt/collectd5/files/patch-src_cpython.h b/net-mgmt/collectd5/files/patch-src_cpython.h new file mode 100644 index 000000000000..78fc41236fb8 --- /dev/null +++ b/net-mgmt/collectd5/files/patch-src_cpython.h @@ -0,0 +1,11 @@ +--- src/cpython.h.orig 2020-07-20 09:50:14 UTC ++++ src/cpython.h +@@ -26,7 +26,7 @@ + + /* Some python versions don't include this by default. */ + +-#include ++#include + + /* These two macros are basically Py_BEGIN_ALLOW_THREADS and + * Py_BEGIN_ALLOW_THREADS -- cgit v1.2.3