]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
collectd: fix musl builds (ipc module)
authorAlex Suykov <alex.suykov@gmail.com>
Mon, 23 Nov 2015 11:12:42 +0000 (13:12 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 26 Nov 2015 21:27:35 +0000 (22:27 +0100)
commit0240baa4b02826b438f5a0f90c8dd1294493b089
treeb80d16d5581eb7c06a6fac0bc407e39afbe52fee
parentac43476f544edf4d3c551c5fa6e44fbe2b97ce64
collectd: fix musl builds (ipc module)

src/ipc.c uses shm_info.used_ids which musl only provides when
_GNU_SOURCE is defined.

The issue has been fixed upstream, but the fix is not in their
latest 5.5.0 release. Adding their patch as a temporary fix
to be removed on the next version bump.

https://github.com/collectd/collectd/issues/1147
https://github.com/collectd/collectd/commit/3e3848349b753d78a0b1d19648fb394866856bda

Fixes
http://autobuild.buildroot.net/results/e981c08f01d2916246a17b1dc112e8b3e8c628e2/

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/collectd/0002-ipc-enable-gnu-source.patch [new file with mode: 0644]