diff options
author | Rosen Penev <rosenp@gmail.com> | 2021-08-27 16:34:16 -0700 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2021-10-05 02:01:39 +0300 |
commit | 2661d615dbe4de240403dcd38c13c78325678c96 (patch) | |
tree | a4c3a3ff1e9baa7873d4dfcf35720ce812ec4a76 /net/net-snmp/patches | |
parent | 9aa6d9b9ac9afbd9ebb22ed166ac38b17c5fec35 (diff) |
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 <rosenp@gmail.com>
Diffstat (limited to 'net/net-snmp/patches')
-rw-r--r-- | net/net-snmp/patches/900-musl-compat.patch | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/net-snmp/patches/900-musl-compat.patch b/net/net-snmp/patches/900-musl-compat.patch index fa9a01e1b..7bc6ae1ef 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 */ |