From 28b5d5c9db66d48a663f95fb18bb1a53ab1f2b0b Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sun, 2 Nov 2025 09:44:52 +0300 Subject: [PATCH] gnu: clipit: Fix build with gcc-14. * gnu/packages/gtk.scm (clipit): Fix build with gcc-14. [arguments]<#:phases>: Add "relax-gcc-14-strictness" phase. Change-Id: If09a119c8827632288ec853062094b1d69e50197 --- gnu/packages/gtk.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index f5ae7b94de2..d73b1a28e33 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -39,6 +39,7 @@ ;;; Copyright © 2024, 2025 John Kehayias ;;; Copyright © 2025 Florian Pelz ;;; Copyright © 2025 Remco van 't Veer +;;; Copyright © 2025 Artyom V. Poptsov ;;; ;;; This file is part of GNU Guix. ;;; @@ -2533,6 +2534,17 @@ misspelled words in a GtkTextView widget.") (sha256 (base32 "05xi29v2y0rvb33fmvrz7r9j4l858qj7ngwd7dp4pzpkkaybjln0")))) (build-system gnu-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-before 'configure 'relax-gcc-14-strictness + (lambda _ + (setenv "CFLAGS" + (string-join + (list "-Wno-error=incompatible-pointer-types" + "-Wno-error=implicit-function-declaration" + "-Wno-error=int-conversion") + " "))))))) (native-inputs (list autoconf automake intltool pkg-config)) (inputs