diff options
author | Andreas Enge <andreas@enge.fr> | 2025-07-25 19:22:53 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-25 19:22:53 +0200 |
commit | 38861468a02c618fef94cb6c8a1ac6d3a3b90ee7 (patch) | |
tree | 96f1ecdb3e5ffbd0c9a052bb101bf4ead23dc8c8 | |
parent | 0a07d26b21d3908cc49a0c37135744eb4e1a0090 (diff) |
gnu: bsd-games: Fix build with gcc-14.
* gnu/packages/games.scm (bsd-games)[arguments]<#:phases>{gcc-14}:
New phase.
Change-Id: I7179a0e61860be44cf15baa8e2e6133552b93ee0
-rw-r--r-- | gnu/packages/games.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index e6b05976f0..e052bca0e5 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -1020,6 +1020,12 @@ possible, while battling many vicious aliens.") (arguments `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'gcc14 + ;; See line 84 of + ;; https://github.com/NixOS/nixpkgs/pull/369352/files#diff-d4e7b24a8c4ebea52238a5421f96f293576ae2be634cd72c1c1521ee043a01fdR84 + (lambda _ + (substitute* "hunt/hunt/otto.c" + (("sigpause\\(old_mask\\);") "")))) (replace 'configure (lambda* (#:key outputs inputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) |