slackbuilds_ponce/games/rogue/ncurses.patch
pghvlaans fa03de9437
games/rogue: Fix build failure with latest ncurses.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2021-05-02 17:21:05 +07:00

10 lines
337 B
Diff

--- ./mdport.c 2016-07-23 11:24:54.000000000 +0900
+++ ./mdport.c 2021-04-10 21:46:28.000004331 +0900
@@ -84,6 +84,7 @@
#include <curses.h> /* AIX requires curses.h be included before term.h */
#if defined(HAVE_TERM_H)
+#define NCURSES_INTERNALS
#include <term.h>
#elif defined(HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>