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

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