0001-prefer-tinfo-over-curses-and-termcap.patch 905 B

12345678910111213141516171819202122232425262728293031
  1. From df46059d1fc10d6aad6daf751cdc47d84e3aee2a Mon Sep 17 00:00:00 2001
  2. From: Jonathan Helmus <jjhelmus@gmail.com>
  3. Date: Thu, 18 Jun 2020 15:25:33 -0500
  4. Subject: [PATCH] prefer tinfo over curses and termcap
  5. Prefer the tinfo library over curses or termcap. This is supported by
  6. newer ncurses libraries.
  7. ---
  8. configure.ac | 6 +++---
  9. 1 file changed, 3 insertions(+), 3 deletions(-)
  10. diff --git a/configure.ac b/configure.ac
  11. index 6aaac0f..472900b 100644
  12. --- a/configure.ac
  13. +++ b/configure.ac
  14. @@ -47,9 +47,9 @@ AC_PROG_AWK
  15. EL_MANTYPE
  16. AC_CHECK_LIB(ncurses, tgetent,,
  17. - [AC_CHECK_LIB(curses, tgetent,,
  18. - [AC_CHECK_LIB(termcap, tgetent,,
  19. - [AC_CHECK_LIB(tinfo, tgetent,,
  20. + [AC_CHECK_LIB(tinfo, tgetent,,
  21. + [AC_CHECK_LIB(curses, tgetent,,
  22. + [AC_CHECK_LIB(termcap, tgetent,,
  23. [AC_MSG_ERROR([libncurses, libcurses, libtermcap or libtinfo is required!])]
  24. )]
  25. )]
  26. --
  27. 2.23.0