diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
commit | 6abbf81ef2f298e3221ff5e67a1f3c5f23958212 (patch) | |
tree | 25413d1cb3a0cbfe36029db32398c0f333609215 /sys-process/htop/files/htop-3.0.3-tinfo.patch | |
parent | 9c417bacd51da6d8b57fa9f37425161d30d4b95b (diff) |
gentoo resync : 14.12.2020
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, 38 insertions, 0 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 new file mode 100644 index 000000000000..ea65a799ed7a --- /dev/null +++ b/sys-process/htop/files/htop-3.0.3-tinfo.patch @@ -0,0 +1,38 @@ +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 |