mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: lpsolve: Fix build with gcc-14.
* gnu/packages/maths.scm (lpsolve)[arguments]: Add phase "apply-gcc-14-patch" to relax gcc-14's strictness. Change-Id: I4bab0523dccb3b0c85bcce3045edf2a1f18c0539
This commit is contained in:
parent
727ab55b55
commit
9ba949c41e
1 changed files with 6 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
||||||
;;; Copyright © 2017, 2019, 2022 Arun Isaac <arunisaac@systemreboot.net>
|
;;; Copyright © 2017, 2019, 2022 Arun Isaac <arunisaac@systemreboot.net>
|
||||||
;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2017 Dave Love <me@fx@gnu.org>
|
;;; Copyright © 2017 Dave Love <me@fx@gnu.org>
|
||||||
;;; Copyright © 2018, 2019, 2020, 2021, 2022, 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
|
;;; Copyright © 2018, 2019, 2020, 2021, 2022, 2024, 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||||
;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com>
|
;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com>
|
||||||
;;; Copyright © 2018 Nadya Voronova <voronovank@gmail.com>
|
;;; Copyright © 2018 Nadya Voronova <voronovank@gmail.com>
|
||||||
;;; Copyright © 2018 Adam Massmann <massmannak@gmail.com>
|
;;; Copyright © 2018 Adam Massmann <massmannak@gmail.com>
|
||||||
|
@ -6984,6 +6984,11 @@ (define-public lpsolve
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure) ; no configure script
|
(delete 'configure) ; no configure script
|
||||||
|
(add-after 'unpack 'apply-gcc-14-patch
|
||||||
|
(lambda _
|
||||||
|
(substitute* '("lpsolve55/ccc"
|
||||||
|
"lp_solve/ccc")
|
||||||
|
(("^c=gcc") "c=\"gcc -Wno-error=implicit-int\""))))
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(lambda _
|
(lambda _
|
||||||
(with-directory-excursion "lpsolve55"
|
(with-directory-excursion "lpsolve55"
|
||||||
|
|
Loading…
Reference in a new issue