~ruther/guix-local

38861468a02c618fef94cb6c8a1ac6d3a3b90ee7 — Andreas Enge 11 months ago 0a07d26
gnu: bsd-games: Fix build with gcc-14.

* gnu/packages/games.scm (bsd-games)[arguments]<#:phases>{gcc-14}:
New phase.

Change-Id: I7179a0e61860be44cf15baa8e2e6133552b93ee0
1 files changed, 6 insertions(+), 0 deletions(-)

M gnu/packages/games.scm
M gnu/packages/games.scm => gnu/packages/games.scm +6 -0
@@ 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"))