From: Rosen Penev Date: Fri, 27 Aug 2021 23:34:16 +0000 (-0700) Subject: net-snmp: remove uClibc reference in patch X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=2661d615dbe4de240403dcd38c13c78325678c96;p=feed%2Fpackages.git net-snmp: remove uClibc reference in patch uClibc is no longer used in OpenWrt. It's pointless anyway. uClibc defines __GLIBC__. Signed-off-by: Rosen Penev --- diff --git a/net/net-snmp/patches/900-musl-compat.patch b/net/net-snmp/patches/900-musl-compat.patch index fa9a01e1b4..7bc6ae1ef4 100644 --- a/net/net-snmp/patches/900-musl-compat.patch +++ b/net/net-snmp/patches/900-musl-compat.patch @@ -1,12 +1,11 @@ --- a/agent/mibgroup/iwlib.h +++ b/agent/mibgroup/iwlib.h -@@ -85,6 +85,11 @@ +@@ -85,6 +85,10 @@ && LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0) #define LIBC5_HEADERS +/* Musl */ -+#elif !defined(__GLIBC__) && !defined(__UCLIBC__) \ -+ && LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0) ++#elif !defined(__GLIBC__) && LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0) +#define GENERIC_HEADERS + /* Unsupported combination */