diff options
Diffstat (limited to 'shells/zsh/patches/patch-bb')
-rw-r--r-- | shells/zsh/patches/patch-bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/shells/zsh/patches/patch-bb b/shells/zsh/patches/patch-bb new file mode 100644 index 00000000000..59ab6807dc6 --- /dev/null +++ b/shells/zsh/patches/patch-bb @@ -0,0 +1,25 @@ +terminfo does not require curses. + +--- Src/Modules/terminfo.c.orig 2010-02-07 08:54:08.000000000 +0000 ++++ Src/Modules/terminfo.c 2010-02-07 08:55:11.000000000 +0000 +@@ -30,7 +30,7 @@ + #define USES_TERM_H 1 + #include "terminfo.mdh" + +-#if defined(HAVE_TIGETFLAG) && defined(HAVE_CURSES_H) ++#if defined(HAVE_TIGETFLAG) && defined(HAVE_TERM_H) + # define USE_TERMINFO_MODULE 1 + #else + # undef USE_TERMINFO_MODULE +@@ -50,10 +50,7 @@ + # undef offsetof + # endif + +-# include <curses.h> +-# ifdef HAVE_TERM_H +-# include <term.h> +-# endif ++#include <term.h> + + static Param terminfo_pm; + |