[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
139/237: gnu: boost-for-mysql: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
139/237: gnu: boost-for-mysql: Fix build with gcc-14. |
Date: |
Fri, 24 Jan 2025 11:06:48 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 17d4fa39d75d24fb5c73a05c1cb0caf2e6f3ca1a
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
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 d090c52d8d..fe9cef754e 100644
--- a/gnu/packages/boost.scm
+++ b/gnu/packages/boost.scm
@@ -14,7 +14,7 @@
;;; Copyright © 2019, 2020 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2020, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
-;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2020, 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2021, 2022 Greg Hogan <code@greghogan.com>
;;; Copyright © 2021 Franck Pérignon <franck.perignon@univ-grenoble-alpes.fr>
;;; Copyright © 2021 Aleksandr Vityazev <avityazev@posteo.org>
@@ -344,6 +344,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
- 88/237: gnu: libcddb: Fix build with gcc-14., (continued)
- 88/237: gnu: libcddb: Fix build with gcc-14., guix-commits, 2025/01/24
- 121/237: gnu: openexr: Update to 3.3.2; fixes build with gcc-14., guix-commits, 2025/01/24
- 113/237: gnu: cryptsetup-static: Update to latest json-c (0.18)., guix-commits, 2025/01/24
- 129/237: gnu: sofia-sip: Update to 1.13.17 and fix build with gcc-14., guix-commits, 2025/01/24
- 125/237: gnu: orbit2: Fix build with gcc-14., guix-commits, 2025/01/24
- 133/237: gnu: clucene: Fix build with gcc-14., guix-commits, 2025/01/24
- 131/237: gnu: icu4c: Update to 76.1; fixes build with gcc-14., guix-commits, 2025/01/24
- 135/237: gnu: icu4c: Disable some tests for x86-32., guix-commits, 2025/01/24
- 141/237: gnu: openldap-for-linphone: Fix build with gcc-14., guix-commits, 2025/01/24
- 142/237: gnu: mbedtls-lts: Update to 2.28.9 and fix build with gcc-14., guix-commits, 2025/01/24
- 139/237: gnu: boost-for-mysql: Fix build with gcc-14.,
guix-commits <=
- 151/237: gnu: tbb-2020.3: Fix build with gcc-14., guix-commits, 2025/01/24
- 138/237: gnu: mpdscribble: Update to 0.25; fixes build with gcc-14., guix-commits, 2025/01/24
- 137/237: gnu: firebird: Update to 3.0.12; fixes build with gcc-14., guix-commits, 2025/01/24
- 136/237: gnu: Add icu4c-71., guix-commits, 2025/01/24
- 150/237: gnu: fmt: Update to 11.1.1; fixes build with gcc-14., guix-commits, 2025/01/24
- 154/237: gnu: colord-minimal: Fix build with gcc-14., guix-commits, 2025/01/24
- 149/237: gnu: podofo: Fix build with gcc-14., guix-commits, 2025/01/24
- 146/237: gnu: discount: Update to 2.2.7d and fix build with gcc-14., guix-commits, 2025/01/24
- 170/237: Revert "gnu: r-rcppparallel: Fix build with gcc-14.", guix-commits, 2025/01/24
- 164/237: gnu: mpark-variant: Build with gcc-14; fixes build., guix-commits, 2025/01/24