diff options
author | Zheng Junjie <z572@z572.online> | 2025-07-06 13:32:41 +0800 |
---|---|---|
committer | Zheng Junjie <z572@z572.online> | 2025-07-06 19:05:47 +0800 |
commit | bd3f95f3c696d89de6a7f46d1469de3880595041 (patch) | |
tree | 0bf12d709dc92fc865cfe69d748030f444c2a316 | |
parent | 98730b8c79b5477c461cbd2c22782ddd90109272 (diff) |
gnu: xdg-desktop-portal: Fix build with gcc-14.core-packages-team-rebased
* gnu/packages/freedesktop.scm (xdg-desktop-portal):
[arguments]: Add relax-gcc-14-strictness phase.
Change-Id: I3f0f632d0ac60f36c3544c1cae000a0c96200a53
Signed-off-by: Andreas Enge <andreas@enge.fr>
-rw-r--r-- | gnu/packages/freedesktop.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 1dadff7271..0d6f8500c9 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -34,7 +34,7 @@ ;;; Copyright © 2022 muradm <mail@muradm.net> ;;; Copyright © 2023 Alex Devaure <ajadevaure@gmail.com> ;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu> -;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2024-2025 Zheng Junjie <z572@z572.online> ;;; Copyright © 2022 Samuel Culpepper <sculpepper@newstore.com> ;;; Copyright © 2024 aurtzy <aurtzy@gmail.com> ;;; Copyright © 2024 Dariqq <dariqq@posteo.net> @@ -3329,6 +3329,10 @@ compatible with the well-known scripts of the same name.") (for-each (lambda (po) (chmod po #o666)) (find-files "po" "\\.po$")))) + (add-before 'configure 'relax-gcc-14-strictness + (lambda _ + (setenv "CFLAGS" + "-g -O2 -Wno-error=incompatible-pointer-types"))) (add-after 'unpack 'set-home-directory (lambda _ (setenv "HOME" "/tmp")))))) (native-inputs |