summaryrefslogtreecommitdiffstats
path: root/package/collectd/0002-ipc-enable-gnu-source.patch
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2016-01-27 21:01:58 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-01-27 21:36:39 +0100
commit29baa2cc4ba76eb34cd95d06c3ec2a4200064920 (patch)
treece4b51207fc258863cbcdcf66a2eb52746b4caf7 /package/collectd/0002-ipc-enable-gnu-source.patch
parent62e17a5fc367e511d7443dd5166be248f84f81c4 (diff)
downloadbuildroot-29baa2cc4ba76eb34cd95d06c3ec2a4200064920.tar.gz
buildroot-29baa2cc4ba76eb34cd95d06c3ec2a4200064920.zip
package/collectd: bump version to 5.5.1
Removed COLLECTD_AUTORECONF=yes because our patches applied were applied upstream: http://git.verplant.org/?p=collectd.git;a=commitdiff;h=780e6a76021a240e95007a04b723d827120afa95 http://git.verplant.org/?p=collectd.git;a=commitdiff;h=3e3848349b753d78a0b1d19648fb394866856bda Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/collectd/0002-ipc-enable-gnu-source.patch')
-rw-r--r--package/collectd/0002-ipc-enable-gnu-source.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/package/collectd/0002-ipc-enable-gnu-source.patch b/package/collectd/0002-ipc-enable-gnu-source.patch
deleted file mode 100644
index 459fdbdbb2..0000000000
--- a/package/collectd/0002-ipc-enable-gnu-source.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-https://github.com/collectd/collectd/commit/3e3848349b753d78a0b1d19648fb394866856bda
-
- ipc: enable _GNU_SOURCE to fix build with musl libc
-
- This fixes compile the compile error:
-
- > ipc.c:154:49: error: 'struct shm_info' has no member named 'used_ids'
- > ipc_submit_g("shm", "segments", NULL, shm_info.used_ids);
- > ^
-
- Fixes #1147
-
-Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
-
-diff --git a/src/ipc.c b/src/ipc.c
-index 3763f24..b403847 100644
---- a/src/ipc.c
-+++ b/src/ipc.c
-@@ -32,6 +32,9 @@
- #include "configfile.h"
-
- #if KERNEL_LINUX
-+ /* _GNU_SOURCE is needed for struct shm_info.used_ids on musl libc */
-+# define _GNU_SOURCE
-+
- /* X/OPEN tells us to use <sys/{types,ipc,sem}.h> for semctl() */
- /* X/OPEN tells us to use <sys/{types,ipc,msg}.h> for msgctl() */
- /* X/OPEN tells us to use <sys/{types,ipc,shm}.h> for shmctl() */
OpenPOWER on IntegriCloud