This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new a7a7e706342 gnu: rogue: Reinstate old ncurses.
a7a7e706342 is described below

commit a7a7e70634292c0a012ea77fc44fd2f43c1c7f7a
Author: Liliana Marie Prikler <[email protected]>
AuthorDate: Mon Nov 9 12:48:15 2026 +0100

    gnu: rogue: Reinstate old ncurses.
    
    * gnu/packages/games.scm (rogue)[source]<snippet>: Remove field.
    [arguments]<#:make-flags>: Re-add “CFLAGS=-DNCURSES_INTERNALS”.
    
    Reported-by: Nigko Yerden <[email protected]>
---
 gnu/packages/games.scm | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 8b01e8eeb89..317a5f5f68a 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -1228,21 +1228,7 @@ Quizzes: arithmetic and quiz.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0mk03l120scas4dcn6xccnhslnwmcx2blshbf925z06yk7rkzias"))
-              (modules '((guix build utils)))
-              (snippet
-               #~(begin
-                   ;; erasechar and killchar functions are now in libtinfo
-                   (substitute* "configure"
-                     (("-lncurses" all) (string-append all " -ltinfo")))
-                   ;; Do not access fields of the opaque type WINDOW
-                   (substitute* "main.c"
-                     (("curscr->_cury = oy;" _) "")
-                     (("curscr->_curx = ox;" _) "move(oy, ox);"))
-                   ;; Choose branch with no accesses to the fields
-                   ;; of the opaque type TERMINAL
-                   (substitute* "mdport.c"
-                     (("^#ifdef NCURSES_VERSION" _) "#if 0"))))))
+                "0mk03l120scas4dcn6xccnhslnwmcx2blshbf925z06yk7rkzias"))))
     (build-system gnu-build-system)
     (arguments
      (list #:tests? #f
@@ -1250,6 +1236,7 @@ Quizzes: arithmetic and quiz.")
            (if (target-hurd?)
                #~(list "CPPFLAGS=-DPATH_MAX=4096")
                #~(list))
+           #:make-flags #~(list "CFLAGS=-DNCURSES_INTERNALS")
            #:phases
            #~(modify-phases %standard-phases
                (add-before 'install 'fix-man-page

Reply via email to