janneke pushed a commit to branch core-packages-team
in repository guix.
commit c5f100d958d6db8534531e59432757984a002ba2
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Tue Dec 31 22:43:03 2024 +0100
gnu: directfb: Fix build with gcc-14.
* gnu/packages/graphics.scm (directfb)[arguments]: Add #:configure-flags to
relax gcc-14's strictness.
Change-Id: I8ce479978513efd0b6ebab7fe1dd3632f66456bf
---
gnu/packages/graphics.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 9d7ec2933a..1b5df41497 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -39,6 +39,7 @@
;;; Copyright © 2023, 2024 Artyom V. Poptsov <[email protected]>
;;; Copyright © 2024 Ivan Vilata-i-Balaguer <[email protected]>
;;; Copyright © 2024 James Smith <[email protected]>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -201,7 +202,9 @@ framebuffer graphics, audio output and input event.")
(base32 "0bs3yzb7hy3mgydrj8ycg7pllrd2b6j0gxj596inyr7ihssr3i0y"))))
(build-system gnu-build-system)
(arguments
- `(#:phases
+ `(#:configure-flags
+ '("CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types")
+ #:phases
(modify-phases %standard-phases
(add-after 'unpack 'remove-buildtime
;; Remove embedded build time for reproducible builds
@@ -218,8 +221,7 @@ framebuffer graphics, audio output and input event.")
(add-after 'unpack 'disable-configure-during-bootstrap
(lambda _
(substitute* "autogen.sh"
- (("^.*\\$srcdir/configure.*") ""))
- #t)))))
+ (("^.*\\$srcdir/configure.*") "")))))))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)