diff options
| -rw-r--r-- | meta-oe/recipes-extended/collectd/collectd/0001-Remove-including-sys-sysctl.h-on-glibc-based-systems.patch | 57 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/collectd/collectd_5.11.0.bb (renamed from meta-oe/recipes-extended/collectd/collectd_5.10.0.bb) | 4 |
2 files changed, 3 insertions, 58 deletions
diff --git a/meta-oe/recipes-extended/collectd/collectd/0001-Remove-including-sys-sysctl.h-on-glibc-based-systems.patch b/meta-oe/recipes-extended/collectd/collectd/0001-Remove-including-sys-sysctl.h-on-glibc-based-systems.patch index 57044057b5..7948788f97 100644 --- a/meta-oe/recipes-extended/collectd/collectd/0001-Remove-including-sys-sysctl.h-on-glibc-based-systems.patch +++ b/meta-oe/recipes-extended/collectd/collectd/0001-Remove-including-sys-sysctl.h-on-glibc-based-systems.patch | |||
| @@ -17,40 +17,10 @@ Upstream-Status: Submitted | |||
| 17 | [https://github.com/collectd/collectd/pull/3234] | 17 | [https://github.com/collectd/collectd/pull/3234] |
| 18 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 18 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 19 | --- | 19 | --- |
| 20 | src/cpu.c | 2 +- | ||
| 21 | src/memory.c | 2 +- | ||
| 22 | src/processes.c | 2 +- | 20 | src/processes.c | 2 +- |
| 23 | src/swap.c | 2 +- | ||
| 24 | src/uptime.c | 2 +- | 21 | src/uptime.c | 2 +- |
| 25 | src/uuid.c | 2 +- | 22 | 2 files changed, 2 insertions(+), 2 deletions(-) |
| 26 | 6 files changed, 6 insertions(+), 6 deletions(-) | ||
| 27 | 23 | ||
| 28 | diff --git a/src/cpu.c b/src/cpu.c | ||
| 29 | index 09d60fe..9d12623 100644 | ||
| 30 | --- a/src/cpu.c | ||
| 31 | +++ b/src/cpu.c | ||
| 32 | @@ -60,7 +60,7 @@ | ||
| 33 | |||
| 34 | #if (defined(HAVE_SYSCTL) && HAVE_SYSCTL) || \ | ||
| 35 | (defined(HAVE_SYSCTLBYNAME) && HAVE_SYSCTLBYNAME) | ||
| 36 | -#ifdef HAVE_SYS_SYSCTL_H | ||
| 37 | +#if defined(HAVE_SYS_SYSCTL_H) && !defined(__GLIBC__) | ||
| 38 | #include <sys/sysctl.h> | ||
| 39 | #endif | ||
| 40 | |||
| 41 | diff --git a/src/memory.c b/src/memory.c | ||
| 42 | index 10bccde..50a8086 100644 | ||
| 43 | --- a/src/memory.c | ||
| 44 | +++ b/src/memory.c | ||
| 45 | @@ -28,7 +28,7 @@ | ||
| 46 | #include "plugin.h" | ||
| 47 | #include "utils/common/common.h" | ||
| 48 | |||
| 49 | -#ifdef HAVE_SYS_SYSCTL_H | ||
| 50 | +#if defined(HAVE_SYS_SYSCTL_H) && !defined(__GLIBC__) | ||
| 51 | #include <sys/sysctl.h> | ||
| 52 | #endif | ||
| 53 | #ifdef HAVE_SYS_VMMETER_H | ||
| 54 | diff --git a/src/processes.c b/src/processes.c | 24 | diff --git a/src/processes.c b/src/processes.c |
| 55 | index f83913a..9f71511 100644 | 25 | index f83913a..9f71511 100644 |
| 56 | --- a/src/processes.c | 26 | --- a/src/processes.c |
| @@ -64,19 +34,6 @@ index f83913a..9f71511 100644 | |||
| 64 | #include <sys/sysctl.h> | 34 | #include <sys/sysctl.h> |
| 65 | #endif | 35 | #endif |
| 66 | /* #endif HAVE_THREAD_INFO */ | 36 | /* #endif HAVE_THREAD_INFO */ |
| 67 | diff --git a/src/swap.c b/src/swap.c | ||
| 68 | index 61c9e28..5a475e4 100644 | ||
| 69 | --- a/src/swap.c | ||
| 70 | +++ b/src/swap.c | ||
| 71 | @@ -49,7 +49,7 @@ | ||
| 72 | #if HAVE_SYS_PARAM_H | ||
| 73 | #include <sys/param.h> | ||
| 74 | #endif | ||
| 75 | -#if HAVE_SYS_SYSCTL_H | ||
| 76 | +#if defined(HAVE_SYS_SYSCTL_H) && !defined(__GLIBC__) | ||
| 77 | #include <sys/sysctl.h> | ||
| 78 | #endif | ||
| 79 | #if HAVE_SYS_DKSTAT_H | ||
| 80 | diff --git a/src/uptime.c b/src/uptime.c | 37 | diff --git a/src/uptime.c b/src/uptime.c |
| 81 | index 0892bda..4b15150 100644 | 38 | index 0892bda..4b15150 100644 |
| 82 | --- a/src/uptime.c | 39 | --- a/src/uptime.c |
| @@ -90,18 +47,6 @@ index 0892bda..4b15150 100644 | |||
| 90 | #include <sys/sysctl.h> | 47 | #include <sys/sysctl.h> |
| 91 | /* Using sysctl interface to retrieve the boot time on *BSD / Darwin / OS X | 48 | /* Using sysctl interface to retrieve the boot time on *BSD / Darwin / OS X |
| 92 | * systems */ | 49 | * systems */ |
| 93 | diff --git a/src/uuid.c b/src/uuid.c | ||
| 94 | index 60d09b5..17e4dd8 100644 | ||
| 95 | --- a/src/uuid.c | ||
| 96 | +++ b/src/uuid.c | ||
| 97 | @@ -29,7 +29,7 @@ | ||
| 98 | #include "plugin.h" | ||
| 99 | #include "utils/common/common.h" | ||
| 100 | |||
| 101 | -#if HAVE_SYS_SYSCTL_H | ||
| 102 | +#if defined(HAVE_SYS_SYSCTL_H) && !defined(__GLIBC__) | ||
| 103 | #include <sys/sysctl.h> | ||
| 104 | #endif | ||
| 105 | 50 | ||
| 106 | -- | 51 | -- |
| 107 | 2.17.1 | 52 | 2.17.1 |
diff --git a/meta-oe/recipes-extended/collectd/collectd_5.10.0.bb b/meta-oe/recipes-extended/collectd/collectd_5.11.0.bb index df3a5b204d..a70e82e039 100644 --- a/meta-oe/recipes-extended/collectd/collectd_5.10.0.bb +++ b/meta-oe/recipes-extended/collectd/collectd_5.11.0.bb | |||
| @@ -15,8 +15,8 @@ SRC_URI = "http://collectd.org/files/collectd-${PV}.tar.bz2 \ | |||
| 15 | file://0006-libcollectdclient-Fix-string-overflow-errors.patch \ | 15 | file://0006-libcollectdclient-Fix-string-overflow-errors.patch \ |
| 16 | file://0001-Remove-including-sys-sysctl.h-on-glibc-based-systems.patch \ | 16 | file://0001-Remove-including-sys-sysctl.h-on-glibc-based-systems.patch \ |
| 17 | " | 17 | " |
| 18 | SRC_URI[md5sum] = "a8344a199b124711bdbec57f1c0b624f" | 18 | SRC_URI[md5sum] = "13b1c946f6684abe453e24b5cd80ec45" |
| 19 | SRC_URI[sha256sum] = "a03359f563023e744c2dc743008a00a848f4cd506e072621d86b6d8313c0375b" | 19 | SRC_URI[sha256sum] = "37b10a806e34aa8570c1cafa6006c604796fae13cc2e1b3e630d33dcba9e5db2" |
| 20 | 20 | ||
| 21 | inherit autotools python3native update-rc.d pkgconfig systemd | 21 | inherit autotools python3native update-rc.d pkgconfig systemd |
| 22 | 22 | ||
