diff options
Diffstat (limited to 'sys-process/htop/files/htop-3.0.3-tinfo.patch')
-rw-r--r-- | sys-process/htop/files/htop-3.0.3-tinfo.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/sys-process/htop/files/htop-3.0.3-tinfo.patch b/sys-process/htop/files/htop-3.0.3-tinfo.patch deleted file mode 100644 index ea65a799ed7a..000000000000 --- a/sys-process/htop/files/htop-3.0.3-tinfo.patch +++ /dev/null @@ -1,38 +0,0 @@ -From ead978bce6236a55d75b72e059686766fa708db4 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= <cgzones@googlemail.com> -Date: Mon, 7 Dec 2020 15:30:56 +0100 -Subject: [PATCH] configure: check for additional linker flags for keypad(3) - -Gentoo requires an explicit addition of -ltinfo - -Resolves: https://bugs.gentoo.org/show_bug.cgi?id=690840 ---- - configure.ac | 8 ++++++++ - 1 file changed, 8 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 460b16aa..f91d8e92 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -217,6 +217,10 @@ if test "x$enable_unicode" = xyes; then - [AC_CHECK_HEADERS([ncurses/ncurses.h],[:], - [AC_CHECK_HEADERS([ncurses/curses.h],[:], - [AC_CHECK_HEADERS([ncurses.h],[:],[missing_headers="$missing_headers $ac_header"])])])]) -+ -+ # check if additional linker flags are needed for keypad(3) -+ # (at this point we already link against a working ncurses library with wide character support) -+ AC_SEARCH_LIBS([keypad], [tinfow tinfo]) - else - HTOP_CHECK_SCRIPT([ncurses6], [refresh], [HAVE_LIBNCURSES], "ncurses6-config", - HTOP_CHECK_SCRIPT([ncurses], [refresh], [HAVE_LIBNCURSES], "ncurses5-config", -@@ -229,6 +233,10 @@ else - [AC_CHECK_HEADERS([ncurses/curses.h],[:], - [AC_CHECK_HEADERS([ncurses/ncurses.h],[:], - [AC_CHECK_HEADERS([ncurses.h],[:],[missing_headers="$missing_headers $ac_header"])])])]) -+ -+ # check if additional linker flags are needed for keypad(3) -+ # (at this point we already link against a working ncurses library) -+ AC_SEARCH_LIBS([keypad], [tinfo]) - fi - - if test "$my_htop_platform" = "freebsd"; then |