diff options
Diffstat (limited to 'games/rogue')
-rw-r--r-- | games/rogue/ncurses.patch | 10 | ||||
-rw-r--r-- | games/rogue/rogue.SlackBuild | 3 |
2 files changed, 13 insertions, 0 deletions
diff --git a/games/rogue/ncurses.patch b/games/rogue/ncurses.patch new file mode 100644 index 0000000000000..b0e873591499b --- /dev/null +++ b/games/rogue/ncurses.patch @@ -0,0 +1,10 @@ +--- ./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> diff --git a/games/rogue/rogue.SlackBuild b/games/rogue/rogue.SlackBuild index a175d9f61a4a4..ac909bfe1ffbc 100644 --- a/games/rogue/rogue.SlackBuild +++ b/games/rogue/rogue.SlackBuild @@ -69,6 +69,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Patching for ncurses include statement +patch -p1 < $CWD/ncurses.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |