summaryrefslogtreecommitdiff
path: root/net-mgmt/collectd5/files/patch-src_cpython.h
diff options
context:
space:
mode:
authorKrzysztof <ports@bsdserwis.com>2024-06-12 12:28:55 +0100
committerNuno Teixeira <eduardo@FreeBSD.org>2024-06-12 12:28:55 +0100
commit0a0b8a9fe86c4c4b065f0327c08f30db48c078ba (patch)
tree8cc72e14d5d78b3837728fa09ea9e79d74ec66d6 /net-mgmt/collectd5/files/patch-src_cpython.h
parentgraphics/frei0r: Update to 2.3.3 (diff)
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
Diffstat (limited to 'net-mgmt/collectd5/files/patch-src_cpython.h')
-rw-r--r--net-mgmt/collectd5/files/patch-src_cpython.h11
1 files changed, 11 insertions, 0 deletions
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 <longintrepr.h>
++#include <python3.11/cpython/longintrepr.h>
+
+ /* These two macros are basically Py_BEGIN_ALLOW_THREADS and
+ * Py_BEGIN_ALLOW_THREADS