From e422aad214a6f90162c52569ac318df852149525 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 22 Jan 2026 16:48:32 +0100 Subject: [PATCH] gnu: ttf2pt1: Fix compilation with glibc 2.41. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/fontutils.scm (ttf2pt1)[source]: Patch ‘t1asm.c’. Change-Id: I2e91a15177d349dcf64aea571debc4ce6bf0e996 Signed-off-by: Ludovic Courtès Signed-off-by: Rutherther --- gnu/packages/fontutils.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index 9ae66917353acd375966cad8b5327996f94c57a6..d6743c26fca711459c9077fb35a7b618b9f03609 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -8,7 +8,7 @@ ;;; Copyright © 2017 Nikita ;;; Copyright © 2017, 2018, 2020–2022 Tobias Geerinckx-Rice ;;; Copyright © 2018, 2024 Ricardo Wurmus -;;; Copyright © 2018, 2019, 2020, 2021, 2023 Ludovic Courtès +;;; Copyright © 2018-2021, 2023, 2026 Ludovic Courtès ;;; Copyright © 2019, 2020, 2022 Marius Bakke ;;; Copyright © 2020 Roel Janssen ;;; Copyright © 2020, 2021, 2024 Nicolas Goaziou @@ -1317,6 +1317,12 @@ TTF (TrueType/OpenType Font) files.") (modules '((guix build utils))) (snippet '(begin + ;; Include for the 'getopt' declaration. + (substitute* "t1asm.c" + (("#include " all) + (string-append all "\n" + "#include \n"))) + ;; Remove trailing backslashes in the sed expression of the ;; 'install' rule since sed would otherwise fail. (substitute* "Makefile"