diff options
| author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2025-10-28 20:23:31 +0300 |
|---|---|---|
| committer | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2025-10-28 20:28:38 +0300 |
| commit | 44bd0e2c35e2539e4b5060d0d39c0b11d2b87b59 (patch) | |
| tree | 5652313f0749732c819014560e8c84dfa503347d /gnu/packages/java.scm | |
| parent | 4570498c7499462bdba9081f45cb239cd50c187d (diff) | |
gnu: drip: Fix build with gcc-14.
* gnu/packages/java.scm (drip): Fix build with gcc-14.
[arguments]<#:phases>: Add "relax-gcc-14-strictness" phase.
Change-Id: I9468bb942c4c569fe6e108f096c32b56658ed146
Diffstat (limited to 'gnu/packages/java.scm')
| -rw-r--r-- | gnu/packages/java.scm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 6e61bded235..fb7512edd20 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | ;;; Copyright © 2021 Mike Gerwitz <mtg@gnu.org> | 18 | ;;; Copyright © 2021 Mike Gerwitz <mtg@gnu.org> |
| 19 | ;;; Copyright © 2021 Pierre Langlois <pierre.langlois@gmx.com> | 19 | ;;; Copyright © 2021 Pierre Langlois <pierre.langlois@gmx.com> |
| 20 | ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net> | 20 | ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net> |
| 21 | ;;; Copyright © 2022, 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com> | 21 | ;;; Copyright © 2022, 2024, 2025 Artyom V. Poptsov <poptsov.artyom@gmail.com> |
| 22 | ;;; Copyright © 2024 Paul A. Patience <paul@apatience.com> | 22 | ;;; Copyright © 2024 Paul A. Patience <paul@apatience.com> |
| 23 | ;;; Copyright © 2024 Raven Hallsby <karl@hallsby.com> | 23 | ;;; Copyright © 2024 Raven Hallsby <karl@hallsby.com> |
| 24 | ;;; Copyright © 2025 Zheng Junjie <873216071@qq.com> | 24 | ;;; Copyright © 2025 Zheng Junjie <873216071@qq.com> |
| @@ -2284,6 +2284,15 @@ Tool for Language Recognition v3).") | |||
| 2284 | #:phases | 2284 | #:phases |
| 2285 | (modify-phases %standard-phases | 2285 | (modify-phases %standard-phases |
| 2286 | (delete 'configure) | 2286 | (delete 'configure) |
| 2287 | (add-before 'build 'relax-gcc-14-strictness | ||
| 2288 | (lambda _ | ||
| 2289 | (substitute* "Makefile" | ||
| 2290 | ((" gcc(.*)$" all options) | ||
| 2291 | (string-append | ||
| 2292 | " gcc" | ||
| 2293 | " -Wno-error=incompatible-pointer-types" | ||
| 2294 | " -Wno-error=implicit-function-declaration" | ||
| 2295 | options))))) | ||
| 2287 | (add-before 'install 'fix-wrapper | 2296 | (add-before 'install 'fix-wrapper |
| 2288 | (lambda* (#:key inputs #:allow-other-keys) | 2297 | (lambda* (#:key inputs #:allow-other-keys) |
| 2289 | (let ((jps (search-input-file inputs "/bin/jps"))) | 2298 | (let ((jps (search-input-file inputs "/bin/jps"))) |
