diff options
Diffstat (limited to 'dev-haskell/editline/files/editline-0.2.1.1-tinfo.patch')
-rw-r--r-- | dev-haskell/editline/files/editline-0.2.1.1-tinfo.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-haskell/editline/files/editline-0.2.1.1-tinfo.patch b/dev-haskell/editline/files/editline-0.2.1.1-tinfo.patch new file mode 100644 index 000000000000..2f073b6a2c72 --- /dev/null +++ b/dev-haskell/editline/files/editline-0.2.1.1-tinfo.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/689988 +--- a/configure.ac ++++ b/configure.ac +@@ -31,7 +31,8 @@ dnl does it. + AC_CHECK_LIB(curses, tgetent, HaveLibTermcap=YES; LibTermcap=curses, + [AC_CHECK_LIB(ncurses, tgetent, HaveLibTermcap=YES; LibTermcap=ncurses, + [AC_CHECK_LIB(termcap, tgetent, HaveLibTermcap=YES; LibTermcap=termcap, +- HaveLibTermcap=NO; LibTermcap=not-installed)])]) ++ [AC_CHECK_LIB(tinfo, tgetent, HaveLibTermcap=YES; LibTermcap=tinfo, ++ HaveLibTermcap=NO; LibTermcap=not-installed)])])]) + + if test "x$HaveLibTermcap" = xYES ; then + HaveLibEdit=YES |