diff options
Diffstat (limited to 'net-mgmt/netdata/files')
-rw-r--r-- | net-mgmt/netdata/files/patch-build_m4_ax__c______atomic.m4 | 25 | ||||
-rw-r--r-- | net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in | 4 |
2 files changed, 2 insertions, 27 deletions
diff --git a/net-mgmt/netdata/files/patch-build_m4_ax__c______atomic.m4 b/net-mgmt/netdata/files/patch-build_m4_ax__c______atomic.m4 deleted file mode 100644 index 1f64fe887f35..000000000000 --- a/net-mgmt/netdata/files/patch-build_m4_ax__c______atomic.m4 +++ /dev/null @@ -1,25 +0,0 @@ ---- build/m4/ax_c___atomic.m4.orig 2019-05-27 21:39:46 UTC -+++ build/m4/ax_c___atomic.m4 -@@ -6,7 +6,12 @@ AC_DEFUN([AC_C___ATOMIC], - [AC_CACHE_CHECK([for __atomic], ac_cv_c___atomic, - [AC_LINK_IFELSE( - [AC_LANG_SOURCE( -- [[int -+ [[typedef struct test { -+ volatile uint16_t a; -+ volatile uint64_t b; -+ volatile uint64_t c; -+ } test_t; -+ int - main (int argc, char **argv) - { - volatile unsigned long ul1 = 1, ul2 = 0, ul3 = 2; -@@ -16,6 +21,8 @@ AC_DEFUN([AC_C___ATOMIC], - __atomic_fetch_sub(&ul3, 1, __ATOMIC_SEQ_CST); - __atomic_or_fetch(&ul1, ul2, __ATOMIC_SEQ_CST); - __atomic_and_fetch(&ul1, ul2, __ATOMIC_SEQ_CST); -+ volatile test_t test = {.a = 0, .b = 0, .c = 1}; -+ __atomic_fetch_add(&test.b, 1, __ATOMIC_SEQ_CST); - volatile unsigned long long ull1 = 1, ull2 = 0, ull3 = 2; - __atomic_load_n(&ull1, __ATOMIC_SEQ_CST); - __atomic_compare_exchange(&ull1, &ull2, &ull3, 1, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); diff --git a/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in b/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in index 0ac0a095638a..913a1ffd5312 100644 --- a/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in +++ b/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in @@ -1,9 +1,9 @@ ---- collectors/python.d.plugin/python.d.plugin.in.orig 2020-01-30 23:22:27 UTC +--- collectors/python.d.plugin/python.d.plugin.in.orig 2022-02-03 22:42:27 UTC +++ collectors/python.d.plugin/python.d.plugin.in @@ -1,6 +1,6 @@ #!/usr/bin/env bash '''':; --pybinary=$(which python || which python3 || which python2) +-pybinary=$(which python3 || which python || which python2) +pybinary=%%PYTHON%% filtered=() for arg in "$@" |