Commits

Romain Naour committed 8541fc05a3f
package/eudev: fix build with musl + libselinux Add a patch to disable mallinfo statistics with musl toolchains which doesn't have struct mallinfo. Fixes: selinux-util.c: In function ‘mac_selinux_init’: selinux-util.c:70:25: error: storage size of ‘before_mallinfo’ isn’t known struct mallinfo before_mallinfo, after_mallinfo; Add a second patch for strndupa() which is a GNU extension. Fixes: ./.libs/libudev-core.a(selinux-util.o): In function `mac_selinux_bind': selinux-util.c:(.text+0xd94): undefined reference to `strndupa' collect2: error: ld returned 1 exit status Signed-off-by: Romain Naour <romain.naour@openwide.fr> Cc: Clayton Shotwell <clshotwe@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>