summaryrefslogtreecommitdiff
path: root/package/libnl
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-07-25 22:16:11 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-07-25 22:16:11 +0200
commitf94dbc199e0abcdd3b8cc9d9d7226d8a1a6b47e1 (patch)
tree9c089e0cfa89af49a38be9032c8e1a9dfb826b14 /package/libnl
parentedd929510568cf11da927e0c6b0ef09948cd86d3 (diff)
libnl: fix musl compile error (patch from buildroot) reported by Ints M
Diffstat (limited to 'package/libnl')
-rw-r--r--package/libnl/Makefile2
-rw-r--r--package/libnl/patches/patch-include_linux-private_linux_libc-compat_h11
2 files changed, 12 insertions, 1 deletions
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)