diff options
author | Krzysztof <ports@bsdserwis.com> | 2024-06-12 12:28:55 +0100 |
---|---|---|
committer | Nuno Teixeira <eduardo@FreeBSD.org> | 2024-06-12 12:28:55 +0100 |
commit | 0a0b8a9fe86c4c4b065f0327c08f30db48c078ba (patch) | |
tree | 8cc72e14d5d78b3837728fa09ea9e79d74ec66d6 /net-mgmt/collectd5/files/patch-src_cpython.h | |
parent | graphics/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.h | 11 |
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 |