gnu: glibc-for-bootstrap: Adapt patch for glibc 2.39.

* gnu/packages/patches/glibc-2.39-bootstrap-system.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/make-bootstrap.scm (glibc-for-bootstrap): Use it for glibc 2.39.

Change-Id: I96761a0bc011af13d861bfece32d96db160f7686
This commit is contained in:
Josselin Poiret 2024-03-04 23:25:48 +01:00 committed by Ludovic Courtès
parent b388be75b1
commit 6de53de54a
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
3 changed files with 73 additions and 1 deletions

View file

@ -74,7 +74,9 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
(inherit base)
(source (origin (inherit (package-source base))
(patches (append (search-patches
"glibc-bootstrap-system.patch")
(match (package-version base)
("2.39" "glibc-2.39-bootstrap-system.patch")
(_ "glibc-bootstrap-system.patch")))
(origin-patches (package-source base))))))
(arguments
(substitute-keyword-arguments (package-arguments base)