summaryrefslogtreecommitdiff
path: root/gnu/packages/games.scm
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2025-07-25 19:22:53 +0200
committerAndreas Enge <andreas@enge.fr>2025-07-25 19:22:53 +0200
commit38861468a02c618fef94cb6c8a1ac6d3a3b90ee7 (patch)
tree96f1ecdb3e5ffbd0c9a052bb101bf4ead23dc8c8 /gnu/packages/games.scm
parent0a07d26b21d3908cc49a0c37135744eb4e1a0090 (diff)
gnu: bsd-games: Fix build with gcc-14.
* gnu/packages/games.scm (bsd-games)[arguments]<#:phases>{gcc-14}: New phase. Change-Id: I7179a0e61860be44cf15baa8e2e6133552b93ee0
Diffstat (limited to 'gnu/packages/games.scm')
-rw-r--r--gnu/packages/games.scm6
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"))