1 |
commit: 20dbfbf2e15c8186dc10802f4766a528d0a8b145 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 9 16:44:17 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 9 16:44:36 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20dbfbf2 |
7 |
|
8 |
app-editors/ng: Fixed build with sys-libs/ncurses[tinfo] |
9 |
|
10 |
Closes: https://bugs.gentoo.org/691014 |
11 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
12 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
13 |
|
14 |
app-editors/ng/files/ng-1.5beta1-ncurses.patch | 28 +++++++++++++++----------- |
15 |
1 file changed, 16 insertions(+), 12 deletions(-) |
16 |
|
17 |
diff --git a/app-editors/ng/files/ng-1.5beta1-ncurses.patch b/app-editors/ng/files/ng-1.5beta1-ncurses.patch |
18 |
index 6808d911152..a31ddccd661 100644 |
19 |
--- a/app-editors/ng/files/ng-1.5beta1-ncurses.patch |
20 |
+++ b/app-editors/ng/files/ng-1.5beta1-ncurses.patch |
21 |
@@ -1,12 +1,16 @@ |
22 |
---- a/configure 2004-05-12 09:26:44.000000000 +0900 |
23 |
-+++ b/configure 2004-05-12 09:27:06.000000000 +0900 |
24 |
-@@ -1077,3+1077,3 @@ |
25 |
- rm -f conftest* |
26 |
--test "$ac_cv_search_tgetstr" = "no" && for i in curses ncurses termlib; do |
27 |
-+test "$ac_cv_search_tgetstr" = "no" && for i in ncurses termlib; do |
28 |
- LIBS="-l$i $ac_func_search_save_LIBS" |
29 |
-@@ -1140,3 +1140,3 @@ |
30 |
- rm -f conftest* |
31 |
--test "$ac_cv_search_tgetstr" = "no" && for i in termcap curses ncurses; do |
32 |
-+test "$ac_cv_search_tgetstr" = "no" && for i in termcap ncurses; do |
33 |
- LIBS="-l$i $ac_func_search_save_LIBS" |
34 |
+--- ng-1.5beta1/sys/unix/configure.in |
35 |
++++ ng-1.5beta1/sys/unix/configure.in |
36 |
+@@ -33,9 +33,11 @@ |
37 |
+ [ --with-termcap Build with termcap library. (default)], |
38 |
+ [ts_with_terminfo="no"]) |
39 |
+ if test "$ts_with_terminfo" = "yes"; then |
40 |
+- AC_SEARCH_LIBS(tgetstr, curses ncurses termlib) |
41 |
++ AC_SEARCH_LIBS(tgetstr, ncurses termlib) |
42 |
++ AC_SEARCH_LIBS(tputs, tinfo ncurses termlib) |
43 |
+ else |
44 |
+- AC_SEARCH_LIBS(tgetstr, termcap curses ncurses) |
45 |
++ AC_SEARCH_LIBS(tgetstr, termcap ncurses) |
46 |
++ AC_SEARCH_LIBS(tputs, termcap tinfo ncurses) |
47 |
+ fi |
48 |
+ |
49 |
+ dnl Checks for header files. |