Blame SOURCES/0050-util-grub-mkfont.c-Downgrade-warnings-about-unhandle.patch

d41074
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
a85e8e
From: Vladimir Serbinenko <phcoder@gmail.com>
a85e8e
Date: Wed, 29 Jan 2014 23:41:48 +0100
d41074
Subject: [PATCH] * util/grub-mkfont.c: Downgrade warnings about unhandled
d41074
 features to debug.
a85e8e
a85e8e
---
a85e8e
 util/grub-mkfont.c | 14 ++++++++------
d41074
 ChangeLog          |  9 +++++++++
a85e8e
 2 files changed, 17 insertions(+), 6 deletions(-)
a85e8e
a85e8e
diff --git a/util/grub-mkfont.c b/util/grub-mkfont.c
d41074
index 3cb02ad5c45..3de07ee9c06 100644
a85e8e
--- a/util/grub-mkfont.c
a85e8e
+++ b/util/grub-mkfont.c
a85e8e
@@ -516,8 +516,8 @@ process_cursive (struct gsub_feature *feature,
a85e8e
 	}		      
a85e8e
       if (grub_be_to_cpu16 (lookup->flag) & ~GSUB_RTL_CHAR)
a85e8e
 	{
a85e8e
-	  printf (_("Unsupported substitution flag: 0x%x\n"),
a85e8e
-		  grub_be_to_cpu16 (lookup->flag));
a85e8e
+	  grub_util_info ("unsupported substitution flag: 0x%x",
a85e8e
+			  grub_be_to_cpu16 (lookup->flag));
a85e8e
 	}
a85e8e
       switch (feattag)
a85e8e
 	{
a85e8e
@@ -577,7 +577,8 @@ process_cursive (struct gsub_feature *feature,
a85e8e
 	       There are 2 coverage specifications: list and range.
a85e8e
 	       This warning is thrown when another coverage specification
a85e8e
 	       is detected.  */
a85e8e
-	    printf (_("Unsupported coverage specification: %d\n"), covertype);
a85e8e
+	    fprintf (stderr,
a85e8e
+		     _("Unsupported coverage specification: %d\n"), covertype);
a85e8e
 	}
a85e8e
     }
a85e8e
 }
a85e8e
@@ -616,7 +617,8 @@ add_font (struct grub_font_info *font_info, FT_Face face, int nocut)
a85e8e
 	  grub_uint32_t feattag
a85e8e
 	    = grub_be_to_cpu32 (features->features[i].feature_tag);
a85e8e
 	  if (feature->params)
a85e8e
-	    printf (_("WARNING: unsupported font feature parameters: %x\n"),
a85e8e
+	    fprintf (stderr,
a85e8e
+		     _("WARNING: unsupported font feature parameters: %x\n"),
a85e8e
 		    grub_be_to_cpu16 (feature->params));
a85e8e
 	  switch (feattag)
a85e8e
 	    {
a85e8e
@@ -647,8 +649,8 @@ add_font (struct grub_font_info *font_info, FT_Face face, int nocut)
a85e8e
 		  if (!grub_isgraph (str[j]))
a85e8e
 		    str[j] = '?';
a85e8e
 		/* TRANSLATORS: It's gsub feature, not gsub font.  */
a85e8e
-		printf (_("Unknown gsub font feature 0x%x (%s)\n"),
a85e8e
-			feattag, str);
a85e8e
+		grub_util_info ("Unknown gsub font feature 0x%x (%s)",
a85e8e
+				feattag, str);
a85e8e
 	      }
a85e8e
 	    }
a85e8e
 	}
d41074
diff --git a/ChangeLog b/ChangeLog
d41074
index a49f5f1f48f..9837c7f8d38 100644
d41074
--- a/ChangeLog
d41074
+++ b/ChangeLog
d41074
@@ -1,3 +1,12 @@
d41074
+2014-01-29  Vladimir Serbinenko  <phcoder@gmail.com>
d41074
+
d41074
+	* util/grub-mkfont.c: Downgrade warnings about unhandled features
d41074
+	to debug.
d41074
+
d41074
+2014-01-29  Vladimir Serbinenko  <phcoder@gmail.com>
d41074
+
d41074
+	* grub-core/term/at_keyboard.c: Tolerate missing keyboard.
d41074
+
d41074
 2014-01-29  Paulo Flabiano Smorigo  <pfsmorigo@br.ibm.com>
d41074
 
d41074
 	* .gitignore: add missing files and .exe variants.