summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/mtr/files/mtr-0.87-tinfo.patch')
-rw-r--r--net-analyzer/mtr/files/mtr-0.87-tinfo.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-analyzer/mtr/files/mtr-0.87-tinfo.patch b/net-analyzer/mtr/files/mtr-0.87-tinfo.patch
new file mode 100644
index 000000000000..4dbdef1cc2fb
--- /dev/null
+++ b/net-analyzer/mtr/files/mtr-0.87-tinfo.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -25,6 +25,8 @@
+ AC_DEFINE(NO_CURSES, 1, [Define if you don't have the curses libraries available.])
+ CURSES_OBJ=)
+
++AC_SEARCH_LIBS(raw, [ncurses curses cursesX tinfo])
++
+ AC_CHECK_LIB(ncurses, use_default_colors,
+ AC_DEFINE(HAVE_USE_DEFAULT_COLORS, 1, [Define this if your curses library has the use_default_colors() command.]))
+