janneke pushed a commit to branch core-packages-team
in repository guix.
commit 6290048eaa09d61dec65ed894b69d0982d5c9124
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Thu Jan 2 13:15:55 2025 +0100
gnu: boost-for-mysql: Fix build with gcc-14.
* gnu/packages/boost.scm (boost-for-mysql)[arguments]: Add phase
"apply-gcc-14-patch".
Change-Id: If75c77d514702c2af127eadba44d195d7443d4f5
---
gnu/packages/boost.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm
index 4f54c6b578..36faceb07a 100644
--- a/gnu/packages/boost.scm
+++ b/gnu/packages/boost.scm
@@ -14,7 +14,7 @@
;;; Copyright © 2019, 2020 Giacomo Leidi <[email protected]>
;;; Copyright © 2020, 2022 Marius Bakke <[email protected]>
;;; Copyright © 2020 Jonathan Brielmaier <[email protected]>
-;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <[email protected]>
+;;; Copyright © 2020, 2025 Janneke Nieuwenhuizen <[email protected]>
;;; Copyright © 2021, 2022 Greg Hogan <[email protected]>
;;; Copyright © 2021 Franck Pérignon <[email protected]>
;;; Copyright © 2021 Aleksandr Vityazev <[email protected]>
@@ -342,6 +342,16 @@ across a broad spectrum of applications.")
"--with-toolset=gcc")))
((#:phases phases)
#~(modify-phases #$phases
+ (add-after 'unpack 'apply-gcc-14-patch
+ (lambda _
+ (substitute* "tools/build/src/engine/build.sh"
+ (("=gcc")
+ "=\"gcc -Wno-error=implicit-function-declaration\""))
+ (substitute* "tools/build/src/engine/build.jam"
+ ((": -pedantic -fno-strict-aliasing" all)
+ (string-append
+ all
+ " -Wno-error=implicit-function-declaration")))))
(replace 'patch-shells
(lambda _
(substitute* (append