Hello community,

here is the log from the commit of package grub for openSUSE:Factory checked in 
at 2015-03-01 15:28:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/grub (Old)
 and      /work/SRC/openSUSE:Factory/.grub.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "grub"

Changes:
--------
--- /work/SRC/openSUSE:Factory/grub/grub.changes        2014-03-10 
06:52:25.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.grub.new/grub.changes   2015-03-01 
15:28:07.000000000 +0100
@@ -1,0 +2,7 @@
+Thu Feb 26 02:40:28 UTC 2015 - mch...@suse.com
+
+- fix checking libncurses failure due to undefined external symbol
+  from libtinfo (boo#918028)
+  - added grub-configure-check-libncurses
+
+-------------------------------------------------------------------

New:
----
  grub-configure-check-libncurses

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

Other differences:
------------------
++++++ grub.spec ++++++
--- /var/tmp/diff_new_pack.FoouhW/_old  2015-03-01 15:28:09.000000000 +0100
+++ /var/tmp/diff_new_pack.FoouhW/_new  2015-03-01 15:28:09.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package grub
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -76,6 +76,7 @@
 Patch44:        no-MAP_GROWSDOWN
 Patch45:        grub-automake.patch
 Patch46:        grub-bigraid-failsafe
+Patch47:        grub-configure-check-libncurses
 Url:            http://www.gnu.org/software/grub/grub.en.html
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Summary:        Grand Unified Boot Loader
@@ -136,6 +137,7 @@
 %patch44 -p1
 %patch45 -p1
 %patch46 -p1
+%patch47 -p1
 
 %build
 perl -pi -e 's,/usr/share/grub/i386-pc,/usr/lib/grub,' docs/grub.texi

++++++ grub-configure-check-libncurses ++++++
Index: grub-0.97/configure.ac
===================================================================
--- grub-0.97.orig/configure.ac
+++ grub-0.97/configure.ac
@@ -207,10 +207,12 @@ AC_CHECK_LIB(util, opendisk, [GRUB_LIBS=
 
 # Unless the user specify --without-curses, check for curses.
 if test "x$with_curses" != "xno"; then
-  AC_CHECK_LIB(ncurses, wgetch, [GRUB_LIBS="$GRUB_LIBS -lncurses"
+  AC_CHECK_LIB(tinfo, setupterm, HAVE_TINFO="-ltinfo")
+  AC_CHECK_LIB(ncurses, wgetch, [GRUB_LIBS="$GRUB_LIBS -lncurses $HAVE_TINFO"
   AC_DEFINE(HAVE_LIBCURSES, 1, [Define if you have a curses library])],
     [AC_CHECK_LIB(curses, wgetch, [GRUB_LIBS="$GRUB_LIBS -lcurses"
-       AC_DEFINE(HAVE_LIBCURSES, 1, [Define if you have a curses library])])])
+       AC_DEFINE(HAVE_LIBCURSES, 1, [Define if you have a curses library])])],
+    ["$HAVE_TINFO"])
 fi
 
 AC_SUBST(GRUB_LIBS)
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to