From d27621e9af056c91e1419ce678614b9dfd5956d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 27 Sep 2021 14:18:12 +0200 Subject: [PATCH 1/2] gnu: glibc: Remove unneeded nscd patching. This change had no effect already in glibc 2.29, which has proper versioning. * gnu/packages/base.scm (glibc)[arguments]: Remove obsolete 'nscd/nscd_stat.c' 'substitute*' statement. --- gnu/packages/base.scm | 9 --------- 1 file changed, 9 deletions(-) diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index 174af43917..9c45f524dc 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -830,15 +830,6 @@ the store.") (string-append "#define _PATH_BSHELL \"" bash "/bin/sh\"\n"))) - ;; Nscd uses __DATE__ and __TIME__ to create a string to - ;; make sure the client and server come from the same - ;; libc. Use something deterministic instead. - (substitute* "nscd/nscd_stat.c" - (("static const char compilation\\[21\\] =.*$") - (string-append - "static const char compilation[21] = \"" - (string-take (basename out) 20) "\";\n"))) - ;; Make sure we don't retain a reference to the ;; bootstrap Perl. (substitute* "malloc/mtrace.pl" -- 2.33.0