Hello community,

here is the log from the commit of package mutt for openSUSE:Factory checked in 
at 2011-11-23 19:36:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mutt (Old)
 and      /work/SRC/openSUSE:Factory/.mutt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mutt", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/mutt/mutt.changes        2011-11-05 
11:49:53.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.mutt.new/mutt.changes   2011-11-23 
19:37:01.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Nov 22 12:58:28 UTC 2011 - [email protected]
+
+- Add patch to use libtinfo if available
+
+-------------------------------------------------------------------

New:
----
  mutt-1.5.21-tinfo.dif

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mutt.spec ++++++
--- /var/tmp/diff_new_pack.5P6a9v/_old  2011-11-23 19:37:03.000000000 +0100
+++ /var/tmp/diff_new_pack.5P6a9v/_new  2011-11-23 19:37:03.000000000 +0100
@@ -68,6 +68,7 @@
 Patch9:         mutt-1.5.20-gpgme_set_locale.patch
 Patch10:        bug-676388-largefile.patch
 Patch11:        nion.sidebar-color.diff
+Patch12:        mutt-1.5.21-tinfo.dif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %global         _sysconfdir %{_sysconfdir}
 
@@ -95,6 +96,7 @@
 %patch9 -p1
 %patch10 -p1
 %patch11 -p1 -b .sidebar.color
+%patch12 -p0 -b .tinfo
 
 cp doc/Muttrc Muttrc.SuSE
 cp %{S:2} .

++++++ mutt-1.5.21-tinfo.dif ++++++
--- configure.ac
+++ configure.ac        2011-11-22 12:48:52.319147493 +0000
@@ -274,9 +274,14 @@ main ()
        do
                AC_CHECK_LIB($lib, waddnwstr, [cf_ncurses="$lib"; break])
        done
+       cf_tinfo=""
+       AC_CHECK_LIB(tinfo, tgetent, [cf_tinfo="tinfo"])
         AC_CHECK_LIB($cf_ncurses, initscr,
-                [MUTTLIBS="$MUTTLIBS -l$cf_ncurses"
-               
+                [if test x$cf_tinfo = x ; then
+                       MUTTLIBS="$MUTTLIBS -l$cf_ncurses"
+               else
+                       MUTTLIBS="$MUTTLIBS -l$cf_ncurses -l$cf_tinfo"
+               fi
                 if test "$cf_ncurses" = ncursesw; then
                        
AC_CHECK_HEADERS(ncursesw/ncurses.h,[cf_cv_ncurses_header="ncursesw/ncurses.h"])
                else


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to