From f94dbc199e0abcdd3b8cc9d9d7226d8a1a6b47e1 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 25 Jul 2017 22:16:11 +0200 Subject: libnl: fix musl compile error (patch from buildroot) reported by Ints M --- package/libnl/Makefile | 2 +- .../patches/patch-include_linux-private_linux_libc-compat_h | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 package/libnl/patches/patch-include_linux-private_linux_libc-compat_h (limited to 'package/libnl') diff --git a/package/libnl/Makefile b/package/libnl/Makefile index 21be9b6cc..201743b22 100644 --- a/package/libnl/Makefile +++ b/package/libnl/Makefile @@ -5,7 +5,7 @@ include ${ADK_TOPDIR}/rules.mk PKG_NAME:= libnl PKG_VERSION:= 3.2.29 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_HASH:= 5a30dc4986158c6c2b1309f4a15a283d50cc938108a675e3d822e24debcd229d PKG_DESCR:= netlink library PKG_SECTION:= libs/net diff --git a/package/libnl/patches/patch-include_linux-private_linux_libc-compat_h b/package/libnl/patches/patch-include_linux-private_linux_libc-compat_h new file mode 100644 index 000000000..104c3c6ba --- /dev/null +++ b/package/libnl/patches/patch-include_linux-private_linux_libc-compat_h @@ -0,0 +1,11 @@ +--- libnl-libnl3_2_29.orig/include/linux-private/linux/libc-compat.h 2016-12-30 15:57:01.000000000 +0100 ++++ libnl-libnl3_2_29/include/linux-private/linux/libc-compat.h 2017-07-25 22:04:13.423563709 +0200 +@@ -49,7 +49,7 @@ + #define _LIBC_COMPAT_H + + /* We have included glibc headers... */ +-#if defined(__GLIBC__) ++#if 1 + + /* Coordinate with glibc netinet/in.h header. */ + #if defined(_NETINET_IN_H) -- cgit v1.2.3