diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2014-12-01 15:40:40 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2014-12-01 15:40:40 +0000 |
commit | fd4ac8c6573697df6205c70d226e9ef630789d45 (patch) | |
tree | 6b1d6f47dde8061de448b1affc361487e4d0fdd5 /debian | |
parent | New patch 370_gtk2-pkg-config.patch to handle defined PKG_CONFIG when gtk2 (diff) | |
download | w3m-fd4ac8c6573697df6205c70d226e9ef630789d45.tar.gz w3m-fd4ac8c6573697df6205c70d226e9ef630789d45.zip |
New patch 380_tinfo.patch to add tinfo to with_termlib
Diffstat (limited to 'debian')
-rw-r--r-- | debian/patches/380_tinfo.patch | 44 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 45 insertions, 0 deletions
diff --git a/debian/patches/380_tinfo.patch b/debian/patches/380_tinfo.patch new file mode 100644 index 0000000..7eb1a24 --- /dev/null +++ b/debian/patches/380_tinfo.patch @@ -0,0 +1,44 @@ +Subject: Add tinfo to with_termlib +Author: Jeroen Roovers <jer@gentoo.org> +Origin: https://504588.bugs.gentoo.org/attachment.cgi?id=372650 +Bug-Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=504588 + +diff --git a/acinclude.m4 b/acinclude.m4 +index d768476..94fcbb5 100644 +--- a/acinclude.m4 ++++ b/acinclude.m4 +@@ -400,10 +400,10 @@ AC_DEFUN([AC_W3M_TERMLIB], + AC_ARG_WITH(termlib, + [ --with-termlib[=LIBS] terminal library + LIBS is space separated list of: +- terminfo mytinfo termcap ncurses curses],, ++ terminfo mytinfo termcap tinfo ncurses curses],, + [with_termlib="yes"]) + AC_MSG_RESULT($with_termlib) +- test x"$with_termlib" = xyes && with_termlib="terminfo mytinfo termlib termcap ncurses curses" ++ test x"$with_termlib" = xyes && with_termlib="terminfo mytinfo termlib termcap tinfo ncurses curses" + for lib in $with_termlib; do + AC_CHECK_LIB($lib, tgetent, [W3M_LIBS="$W3M_LIBS -l$lib"; break]) + done +diff --git a/configure b/configure +index b5adbb5..fd916fc 100755 +--- a/configure ++++ b/configure +@@ -1490,7 +1490,7 @@ Optional Packages: + --with-ssl=PREFIX support https protocol + --with-termlib=LIBS terminal library + LIBS is space separated list of: +- terminfo mytinfo termcap ncurses curses ++ terminfo mytinfo termcap tinfo ncurses curses + --with-gc=PREFIX libgc PREFIX + + Some influential environment variables: +@@ -7978,7 +7978,7 @@ fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_termlib" >&5 + $as_echo "$with_termlib" >&6; } +- test x"$with_termlib" = xyes && with_termlib="terminfo mytinfo termlib termcap ncurses curses" ++ test x"$with_termlib" = xyes && with_termlib="terminfo mytinfo termlib termcap tinfo ncurses curses" + for lib in $with_termlib; do + as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_tgetent" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -l$lib" >&5 diff --git a/debian/patches/series b/debian/patches/series index 5e3ed8d..589b95b 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -36,6 +36,7 @@ 350_ambwidth.patch 360_libressl.patch 370_gtk2-pkg-config.patch +380_tinfo.patch 800_lang-en.patch 810_lang-de.patch 820_lang-ja.patch |