Hello community,

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

Package is "emacs", Maintainer is "wer...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/emacs/emacs.changes      2011-10-03 
09:17:08.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.emacs.new/emacs.changes 2011-11-23 
19:34:40.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Nov 22 14:40:45 UTC 2011 - wer...@suse.de
+
+- Add patch to use libtinfo if available 
+
+-------------------------------------------------------------------

New:
----
  emacs-23.3-tinfo.dif

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

Other differences:
------------------
++++++ emacs.spec ++++++
--- /var/tmp/diff_new_pack.nPxzc0/_old  2011-11-23 19:34:43.000000000 +0100
+++ /var/tmp/diff_new_pack.nPxzc0/_new  2011-11-23 19:34:43.000000000 +0100
@@ -54,6 +54,7 @@
 Patch11:        emacs-22.0.99-xim.patch
 Patch12:        emacs-22.0.99-x11r7.patch
 Patch13:        emacs-23.3-s390x.dif
+Patch14:        emacs-23.3-tinfo.dif
 Patch15:        emacs-22.2-iconic.patch
 Patch16:        emacs-23.1-flyspell.patch
 Patch18:        emacs-sparc.diff
@@ -160,6 +161,7 @@
 %patch11 -p0 -b .xim
 %patch12 -p0 -b .x11r7
 %patch13 -p0 -b .s390x
+%patch14 -p0 -b .tinfo
 %patch15 -p0 -b .iconic
 %patch16 -p0 -b .flyspell
 %patch

++++++ emacs-23.3-tinfo.dif ++++++
--- configure.in
+++ configure.in        2011-11-22 14:37:39.195146873 +0000
@@ -2376,11 +2376,13 @@ AC_CHECK_FUNCS(getpt)
 # That is because we have not set up to link ncurses in lib-src.
 # It's better to believe a function is not available
 # than to expect to find it in ncurses.
-AC_CHECK_LIB(ncurses, tparm)
+for lib in tinfo ncurses ; do
+  AC_CHECK_LIB($lib, tparm)
+done
 
 case "$opsys" in
   netbsd)
-    AC_SEARCH_LIBS(tputs, [ncurses terminfo termcap])
+    AC_SEARCH_LIBS(tputs, [tinfo ncurses ncursesw terminfo termcap])
     if test $ac_cv_search_tputs = -lterminfo; then
       AC_DEFINE(TERMINFO, 1, [Define to 1 if you use terminfo instead of 
termcap.])
     fi
--- src/config.in
+++ src/config.in       2011-11-22 14:34:49.199647061 +0000
@@ -388,6 +388,9 @@ along with GNU Emacs.  If not, see <http
 /* Define to 1 if you have the `ncurses' library (-lncurses). */
 #undef HAVE_LIBNCURSES
 
+/* Define to 1 if you have the `tinfo' library (-ltinfo). */
+#undef HAVE_LIBTINFO
+
 /* Define to 1 if using libotf. */
 #undef HAVE_LIBOTF
 
--- src/s/gnu-linux.h
+++ src/s/gnu-linux.h   2011-11-22 14:36:11.327146051 +0000
@@ -230,8 +230,12 @@ along with GNU Emacs.  If not, see <http
 
 #ifdef HAVE_LIBNCURSES
 #define TERMINFO
+#ifdef HAVE_LIBTINFO
+#define LIBS_TERMCAP -ltinfo
+#else
 #define LIBS_TERMCAP -lncurses
 #endif
+#endif
 
 #define UNEXEC unexelf.o
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to