summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-editors/ng/files/ng-1.5beta1-ncurses.patch')
-rw-r--r--app-editors/ng/files/ng-1.5beta1-ncurses.patch28
1 files changed, 16 insertions, 12 deletions
diff --git a/app-editors/ng/files/ng-1.5beta1-ncurses.patch b/app-editors/ng/files/ng-1.5beta1-ncurses.patch
index 6808d911152b..a31ddccd6614 100644
--- a/app-editors/ng/files/ng-1.5beta1-ncurses.patch
+++ b/app-editors/ng/files/ng-1.5beta1-ncurses.patch
@@ -1,12 +1,16 @@
---- a/configure 2004-05-12 09:26:44.000000000 +0900
-+++ b/configure 2004-05-12 09:27:06.000000000 +0900
-@@ -1077,3+1077,3 @@
- rm -f conftest*
--test "$ac_cv_search_tgetstr" = "no" && for i in curses ncurses termlib; do
-+test "$ac_cv_search_tgetstr" = "no" && for i in ncurses termlib; do
- LIBS="-l$i $ac_func_search_save_LIBS"
-@@ -1140,3 +1140,3 @@
- rm -f conftest*
--test "$ac_cv_search_tgetstr" = "no" && for i in termcap curses ncurses; do
-+test "$ac_cv_search_tgetstr" = "no" && for i in termcap ncurses; do
- LIBS="-l$i $ac_func_search_save_LIBS"
+--- ng-1.5beta1/sys/unix/configure.in
++++ ng-1.5beta1/sys/unix/configure.in
+@@ -33,9 +33,11 @@
+ [ --with-termcap Build with termcap library. (default)],
+ [ts_with_terminfo="no"])
+ if test "$ts_with_terminfo" = "yes"; then
+- AC_SEARCH_LIBS(tgetstr, curses ncurses termlib)
++ AC_SEARCH_LIBS(tgetstr, ncurses termlib)
++ AC_SEARCH_LIBS(tputs, tinfo ncurses termlib)
+ else
+- AC_SEARCH_LIBS(tgetstr, termcap curses ncurses)
++ AC_SEARCH_LIBS(tgetstr, termcap ncurses)
++ AC_SEARCH_LIBS(tputs, termcap tinfo ncurses)
+ fi
+
+ dnl Checks for header files.