janneke pushed a commit to branch core-packages-team
in repository guix.
commit aa826c5dca9b733dc372f1532686112e43c62237
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Tue Dec 31 09:52:16 2024 +0100
gnu: libcddb: Fix build with gcc-14.
* gnu/packages/cdrom.scm (libcddb)[arguments]: Add #:configure-flags to
relax
gcc-14's strictness.
Change-Id: I463872e31d6f8c42136e6e04cf4013c2261d43cc
---
gnu/packages/cdrom.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm
index 98c9127803..42e0147777 100644
--- a/gnu/packages/cdrom.scm
+++ b/gnu/packages/cdrom.scm
@@ -17,6 +17,7 @@
;;; Copyright © 2023 Zheng Junjie <[email protected]>
;;; Copyright © 2024 Julian Flake <[email protected]>
;;; Copyright © 2025 Yovan Naumovski <[email protected]>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -90,7 +91,13 @@
(base32
"0fr21a7vprdyy1bq6s99m0x420c9jm5fipsd63pqv8qyfkhhxkim"))))
(build-system gnu-build-system)
- (arguments '(#:tests? #f)) ; tests rely on access to external servers
+ (arguments
+ (list
+ #:tests? #f ;tests rely on access to external servers
+ #:configure-flags #~(list
+ #$(string-append
+ "CFLAGS=-g -O2"
+ " -Wno-error=incompatible-pointer-types"))))
(home-page "https://libcddb.sourceforge.net/")
(synopsis "C library to access data on a CDDB server")
(description