From 4f6e8e5992ed434295584501f99924a1f6706ad4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rg=20Krause?= Date: Mon, 1 Sep 2014 12:29:08 +0200 Subject: [PATCH] package/libnl: add patch to fix build with the musl C library MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- ...nk-h-use-poll-h-instead-of-sys-poll-h.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 package/libnl/libnl-0001-netlink-netlink-h-use-poll-h-instead-of-sys-poll-h.patch 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 -- 2.30.2