sys-libs/uclibc-ng: remove unused patch
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Mon, 16 Dec 2019 20:38:51 +0000 (21:38 +0100)
committerAnthony G. Basile <blueness@gentoo.org>
Tue, 17 Dec 2019 15:00:52 +0000 (10:00 -0500)
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
sys-libs/uclibc-ng/files/uclibc-ng-1.0.30-fix-ld.so.cache.patch [deleted file]

diff --git a/sys-libs/uclibc-ng/files/uclibc-ng-1.0.30-fix-ld.so.cache.patch b/sys-libs/uclibc-ng/files/uclibc-ng-1.0.30-fix-ld.so.cache.patch
deleted file mode 100644 (file)
index 6b13e08..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-commit 92d250d387e247029900c9074150f45866b29781
-Author: Waldemar Brodkorb <wbx@openadk.org>
-Date:   Sun Apr 29 19:34:11 2018 +0200
-
-    Revert "ldconfig: add glibc compatibility fix"
-    
-    This reverts commit 2a3bb4daf5778c5875674cd26a3c75b3d460a042.
-    
-    This is breaking ld.so.cache usage. Seen on Gentoo/amd64.
-    
-    Reported-by: "Anthony G. Basile" <basile@freeharbor.net>
-
-diff --git a/utils/ldconfig.c b/utils/ldconfig.c
-index 58939d689..e6b788118 100644
---- a/utils/ldconfig.c
-+++ b/utils/ldconfig.c
-@@ -184,9 +184,10 @@ static char *readsoname(char *name, FILE *infile, int expected_type,
-               res = readsoname32(name, infile, expected_type, type);
-       else {
-               res = readsoname64(name, infile, expected_type, type);
--
--              // For 64-bit glibc compatibility
--              *type |= FLAG_X8664_LIB64;
-+#if 0
-+              /* relies on multilib support which we dont have ... */
-+              *type |= LIB_ELF64;
-+#endif
-       }
-       return res;
-@@ -757,7 +758,7 @@ void cache_print(void)
-       for (fd = 0; fd < header->nlibs; fd++) {
-               printf("\t%s ", strs + libent[fd].sooffset);
--              switch (libent[fd].flags & ~LIB_ELF64 & FLAG_TYPE_MASK) {
-+              switch (libent[fd].flags & ~LIB_ELF64) {
-               case LIB_DLL:
-                       printf("(libc4)");
-                       break;
-@@ -770,7 +771,7 @@ void cache_print(void)
-               case LIB_ELF_LIBC5:
-               case LIB_ELF_LIBC6:
-                       printf("(libc%d%s)",
--                             (libent[fd].flags & ~LIB_ELF64 & FLAG_TYPE_MASK) + 3,
-+                             (libent[fd].flags & ~LIB_ELF64) + 3,
-                              libent[fd].flags & LIB_ELF64 ? "/64" : "");
-                       break;
-               default: