diff options
| author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2025-01-03 15:02:47 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-07-18 20:17:23 +0200 |
| commit | d5b661f33eb084b12c58baafd6a5e6c67f514cd6 (patch) | |
| tree | baf02ddc999bd98c2f09c71c4daa76fd089a04cb /gnu/packages/python-xyz.scm | |
| parent | 914df23f5e6c36ff17f48a90b59a0a897c2f93d3 (diff) | |
gnu: python-datrie: Fix build with gcc-14.
* gnu/packages/python-xyz.scm (python-datrie)[arguments]: New field to relax
gcc-14's strictness.
Change-Id: I44185ba3da9f57326179bd44394d5508da6dd62d
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9e486a52d2..8abaf7ecd6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -146,7 +146,7 @@ ;;; Copyright © 2023 Parnikkapore <poomklao@yahoo.com> ;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com> ;;; Copyright © c4droid <c4droid@foxmail.com> -;;; Copyright © 2023, 2024 Janneke Nieuwenhuizen <janneke@gnu.org> +;;; Copyright © 2023, 2024, 2025 Janneke Nieuwenhuizen <janneke@gnu.org> ;;; Copyright © 2023 Attila Lendvai <attila@lendvai.name> ;;; Copyright © 2023, 2024 Troy Figiel <troy@troyfigiel.com> ;;; Copyright © 2023 Adam Faiz <adam.faiz@disroot.org> @@ -15383,6 +15383,15 @@ of the structure, dynamics, and functions of complex networks.") (base32 "0pbn32flkrpjiwfcknmj6398qa81ba783kbcvwan3kym73v0hnsj")))) (build-system python-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'relax-gcc-14-strictness + (lambda _ + (setenv "CFLAGS" + (string-append "-g -O2" + " -Wno-error=incompatible-pointer-types"))))))) (native-inputs (list python-cython python-hypothesis python-pytest python-pytest-runner)) |
