package/libnss: remove patch

Remove uClibc fix patch since its change has been upstreamed despite the
comment contained in patch.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Giulio Benetti 2019-12-12 15:01:18 +01:00 committed by Thomas Petazzoni
parent a6f1453e1c
commit 92625702e4
5 changed files with 0 additions and 22 deletions

View File

@ -1,22 +0,0 @@
Fix build with uClibc-ng
The elf.h header in uClibc-ng is missing the AT_HWCAP2 definition. Add it in
the code.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
Upstream status: Not upstreamable; uClibc needs to update elf.h
diff -Nuar nss-3.38.orig/nss/lib/freebl/blinit.c nss-3.38/nss/lib/freebl/blinit.c
--- nss-3.38.orig/nss/lib/freebl/blinit.c 2018-06-21 12:24:45.000000000 +0300
+++ nss-3.38/nss/lib/freebl/blinit.c 2018-06-26 13:13:55.636434720 +0300
@@ -100,6 +100,9 @@
defined(__GNUC__) && __GNUC__ >= 2 && defined(__ELF__)
#include <sys/auxv.h>
extern unsigned long getauxval(unsigned long type) __attribute__((weak));
+#ifndef AT_HWCAP2
+#define AT_HWCAP2 26
+#endif
#else
static unsigned long (*getauxval)(unsigned long) = NULL;
#define AT_HWCAP2 0