diff options
author | Zheng Junjie <z572@z572.online> | 2025-07-13 13:39:19 +0800 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-18 20:17:52 +0200 |
commit | 830fddcf5569260aa54a6e6d197426e654dfed5e (patch) | |
tree | 5c8d7990ea508091ba42b604e88ffcae972638aa | |
parent | a1279014821639869a937861eea6d42947d132d6 (diff) |
gnu: python-afdko-3.6.1: Fix build.
* gnu/packages/fontutils.scm (python-afdko-3.6.1)[arguments]: Add
relax-gcc14-strictness phase.
[native-inputs]: Use python-lxml-4.9 replace python-lxml.
Change-Id: I586702a1148a6157a6515c5e4483957372f4fa29
-rw-r--r-- | gnu/packages/fontutils.scm | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index 00646e979b..d5734372e8 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -360,11 +360,23 @@ but also provides many useful font conversion and analysis facilities. (sha256 (base32 "0187xhgw6spzaji93fs1mnhqnq30pxhdj1p2m88673szvzpf10av")))) (arguments - (list #:phases - #~(modify-phases %standard-phases - (add-before 'build 'set-CC - (lambda _ - (setenv "CC" "gcc")))))) + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'relax-gcc14-strictness + (lambda _ + (substitute* (string-append + "c/makeotf/makeotf_lib/build" + "/hotconv/linux/gcc/release/Makefile") + (("CFLAGS = ") + "CFLAGS = -Wno-error=int-conversion")) + (substitute* + "c/public/lib/build/t1write/linux/gcc/release/Makefile" + (("CFLAGS = ") + "CFLAGS = -Wno-error=incompatible-pointer-types")))) + (add-before 'build 'set-CC + (lambda _ + (setenv "CC" "gcc")))))) (native-inputs (list pkg-config python-pytest @@ -379,7 +391,7 @@ but also provides many useful font conversion and analysis facilities. python-defcon python-fontmath python-fonttools - python-lxml + python-lxml-4.9 python-tqdm python-ufonormalizer python-ufoprocessor)))) |