app-text/hunspell: Adjusted tinfo patch
authorLars Wendler <polynomial-c@gentoo.org>
Sat, 14 Dec 2019 13:31:16 +0000 (14:31 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Sat, 14 Dec 2019 13:32:34 +0000 (14:32 +0100)
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
app-text/hunspell/files/hunspell-1.7.0-tinfo.patch

index 1fb992b0c9d55ad2dc7a2d0ee0085abe11e9c387..121c53e4595e2845fe6ac79db346b92a52e1d680 100644 (file)
@@ -1,4 +1,4 @@
-From ce41cfc39129ee2be67667f2d9b78cc7f7d24dca Mon Sep 17 00:00:00 2001
+From b9a07b1ff100d5efeb5698d0ffe1c56935c681b8 Mon Sep 17 00:00:00 2001
 From: zimous <zimous@matfyz.cz>
 Date: Mon, 2 Sep 2019 12:46:53 +0200
 Subject: [PATCH] Fix build against ncurses with separate tinfo lib
@@ -9,7 +9,7 @@ Gentoo-bug: https://bugs.gentoo.org/692614
  1 file changed, 18 insertions(+), 4 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index 9426a94..bc5e39d 100644
+index 9426a94..958375f 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -52,11 +52,23 @@ AC_ARG_WITH(
@@ -21,13 +21,13 @@ index 9426a94..bc5e39d 100644
 +        ])
        ],[AC_CHECK_LIB([curses],[tparm],[
                CURSESLIB=-lcurses
-+        AC_CHECK_LIB([tinfow],[tgetent], [
++        AC_CHECK_LIB([tinfo],[tgetent], [
 +            CURSESLIB="$CURSESLIB -ltinfo"
 +        ])
        ],[AC_CHECK_LIB([ncurses],[tparm],[
                CURSESLIB=-lncurses
 -      ])])])
-+        AC_CHECK_LIB([tinfow],[tgetent], [
++        AC_CHECK_LIB([tinfo],[tgetent], [
 +            CURSESLIB="$CURSESLIB -ltinfo"
 +        ])
 +      ],
@@ -57,5 +57,5 @@ index 9426a94..bc5e39d 100644
        LDFLAGS="$LDFLAGS $TERMLIB"
        AC_CHECK_LIB([readline],[readline],[
 -- 
-2.23.0
+2.24.1