Hello community,

here is the log from the commit of package grub2 for openSUSE:Factory checked 
in at 2012-07-30 20:27:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/grub2 (Old)
 and      /work/SRC/openSUSE:Factory/.grub2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "grub2", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/grub2/grub2.changes      2012-07-23 
10:15:44.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.grub2.new/grub2.changes 2012-07-30 
20:27:37.000000000 +0200
@@ -1,0 +2,10 @@
+Sat Jul 28 14:17:56 UTC 2012 - [email protected]
+
+- Fix build with missing gets declaration (glibc 2.16)
+
+-------------------------------------------------------------------
+Fri Jul 27 13:22:24 UTC 2012 - [email protected]
+
+- Add grub2-enable-theme-for-terminal-window.patch (bnc#770107)
+
+-------------------------------------------------------------------

New:
----
  grub2-enable-theme-for-terminal-window.patch
  grub2-stdio.in.patch

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

Other differences:
------------------
++++++ grub2.spec ++++++
--- /var/tmp/diff_new_pack.hYrRUt/_old  2012-07-30 20:27:47.000000000 +0200
+++ /var/tmp/diff_new_pack.hYrRUt/_new  2012-07-30 20:27:47.000000000 +0200
@@ -88,6 +88,8 @@
 Patch10:        grub2-fix-error-terminal-gfxterm-isn-t-found.patch
 Patch11:        grub2-fix-mo-not-copied-to-grubdir-locale.patch
 Patch12:        grub2-fix-menu-in-xen-host-server.patch
+Patch13:        grub2-enable-theme-for-terminal-window.patch
+Patch14:        grub2-stdio.in.patch
 Patch99:        use-grub2-efi-as-a-package-name.patch
 PreReq:         perl-Bootloader
 Requires:       gettext-runtime
@@ -147,6 +149,8 @@
 %patch10 -p1
 %patch11 -p1
 %patch12 -p1
+%patch13 -p1
+%patch14 -p2
 cd ..
 
 # README.openSUSE


++++++ grub2-enable-theme-for-terminal-window.patch ++++++
--- a/util/grub.d/00_header.in  2012-03-27 21:45:08.992732967 -0400
+++ b/util/grub.d/00_header.in  2012-03-27 21:45:08.992732967 -0400
@@ -253,8 +253,9 @@
 set theme=(\$root)`make_system_path_relative_to_its_root $GRUB_THEME`
 export theme
 EOF
-    elif [ "x$GRUB_BACKGROUND" != x ] && [ -f "$GRUB_BACKGROUND" ] \
-           && is_path_readable_by_grub "$GRUB_BACKGROUND"; then
+    fi
+    if [ "x$GRUB_BACKGROUND" != x ] && [ -f "$GRUB_BACKGROUND" ] \
+       && is_path_readable_by_grub "$GRUB_BACKGROUND"; then
        gettext_printf "Found background: %s\n" "$GRUB_BACKGROUND" >&2
        case "$GRUB_BACKGROUND" in 
            *.png)         reader=png ;;
++++++ grub2-stdio.in.patch ++++++
From: Andreas Jaeger
Date: Sat Jul 28 14:17:56 UTC 2012
Subject: [PATCH] Fix stdio.in.h with glibc 2.16

stdio.in.h expects that gets is declared but this is not the 
case with ISO C11 anymore which glibc 2.16 follows.

This is a patch to a file that grub takes from gnulib - and is
fixed in upstream gnulib and will thus be in grub2 once this 
file gets regenerated with a newer grub release.

Patch-Mainline: no

Index: grub-2.00/grub-2.00/grub-core/gnulib/stdio.in.h
===================================================================
--- grub-2.00.orig/grub-2.00/grub-core/gnulib/stdio.in.h
+++ grub-2.00/grub-2.00/grub-core/gnulib/stdio.in.h
@@ -141,7 +141,9 @@ _GL_WARN_ON_USE (fflush, "fflush is not
    so any use of gets warrants an unconditional warning.  Assume it is
    always declared, since it is required by C89.  */
 #undef gets
+#if HAVE_RAW_DECL_GETS
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+#endif
 
 #if @GNULIB_FOPEN@
 # if @REPLACE_FOPEN@

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

Reply via email to