From: Jörg Krause Date: Mon, 1 Sep 2014 10:29:08 +0000 (+0200) Subject: package/libnl: add patch to fix build with the musl C library X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4f6e8e5992ed434295584501f99924a1f6706ad4;p=buildroot.git package/libnl: add patch to fix build with the musl C library Add a patch to the package libnl which removes an error when building libnl against the musl C library. Signed-off-by: Jörg Krause Signed-off-by: Peter Korsgaard --- diff --git a/package/libnl/libnl-0001-netlink-netlink-h-use-poll-h-instead-of-sys-poll-h.patch b/package/libnl/libnl-0001-netlink-netlink-h-use-poll-h-instead-of-sys-poll-h.patch new file mode 100644 index 0000000000..dd55cd463a --- /dev/null +++ b/package/libnl/libnl-0001-netlink-netlink-h-use-poll-h-instead-of-sys-poll-h.patch @@ -0,0 +1,18 @@ +netlink/netlink.h: As the poll() man page recommends include the +instead of . This removes an error when building libdl against +the musl C library. + +Signed-off-by: Jörg Krause + +diff -purN libnl-3.2.25.orig/include/netlink/netlink.h libnl-3.2.25/include/netlink/netlink.h +--- libnl-3.2.25.orig/include/netlink/netlink.h 2014-09-01 11:42:37.254724124 +0200 ++++ libnl-3.2.25/include/netlink/netlink.h 2014-09-01 11:42:58.254724255 +0200 +@@ -16,7 +16,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #include