summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2025-11-02 09:44:52 +0300
committerArtyom V. Poptsov <poptsov.artyom@gmail.com>2025-11-02 09:44:52 +0300
commit28b5d5c9db66d48a663f95fb18bb1a53ab1f2b0b (patch)
tree08ccd44261276f5b1b2211acdbde3a5b355dfe64 /gnu/packages
parentc4b8e5562c7a8086a8c57f14d78c79472e5e8ac2 (diff)
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
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/gtk.scm12
1 files changed, 12 insertions, 0 deletions
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 <john.kehayias@protonmail.com>
;;; Copyright © 2025 Florian Pelz <pelzflorian@pelzflorian.de>
;;; Copyright © 2025 Remco van 't Veer <remco@remworks.net>
+;;; Copyright © 2025 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;;
;;; 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