Forráskód Böngészése

libnl: fix musl compile error (patch from buildroot) reported by Ints M

Waldemar Brodkorb 6 éve
szülő
commit
f94dbc199e

+ 1 - 1
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

+ 11 - 0
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)