summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2024-02-21 20:52:29 +0100
committerJanneke Nieuwenhuizen <janneke@gnu.org>2024-02-21 20:57:41 +0100
commitfd90518b34ef536733521b0d587d49b1bca6dab3 (patch)
treea3c553c2c37961af95d549ca51dfa3ff5fd40d94
parentd0273bf765a0dc77907d7c0504d37ebee19c94bc (diff)
gnu: glibc-2.33: Fix source build.
* gnu/packages/base.scm (glibc-2.33)[source]: Use patches from glibc-2.35. Change-Id: Idfcad60a39bdfd54d6126c1b440c8915ec2d4df2
-rw-r--r--gnu/packages/base.scm16
1 files changed, 9 insertions, 7 deletions
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index cffc99d4cc..e912180158 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -6,7 +6,7 @@
;;; Copyright © 2014 Alex Kost <alezost@gmail.com>
;;; Copyright © 2014, 2015 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
;;; Copyright © 2016, 2017, 2019-2023 Efraim Flashner <efraim@flashner.co.il>
-;;; Copyright © 2016, 2020, 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2016, 2020, 2023, 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2016, 2018 Alex Vong <alexvong1995@gmail.com>
;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
;;; Copyright © 2017, 2020 Mathieu Othacehe <m.othacehe@gmail.com>
@@ -1143,12 +1143,14 @@ with the Linux kernel.")
"1zvp0qdfbdyqrzydz18d9zg3n5ygy8ps7cmny1bvsp8h1q05c99f"))
(patches
(cons (search-patch "glibc-2.33-riscv64-miscompilation.patch")
- ;; Remove a patch that's become irrelevant and that does not
- ;; apply to this version.
- (remove (lambda (patch)
- (string=? (basename patch)
- "glibc-hurd-clock_gettime_monotonic.patch"))
- (origin-patches (package-source glibc)))))))
+ ;; Remove patches that are irrelevant or do not apply to
+ ;; this version.
+ (remove
+ (lambda (patch)
+ (member (basename patch)
+ '("glibc-2.35-CVE-2023-4911.patch"
+ "glibc-hurd-clock_gettime_monotonic.patch")))
+ (origin-patches (package-source glibc-2.35)))))))
(arguments
(substitute-keyword-arguments (package-arguments glibc)
((#:configure-flags flags ''())