Blame SOURCES/0056-util-grub-mkfont.c-Build-fix-for-argp.h-with-older-g.patch

d41074
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
a85e8e
From: Vladimir Serbinenko <phcoder@gmail.com>
a85e8e
Date: Mon, 3 Feb 2014 14:34:27 +0100
d41074
Subject: [PATCH] * util/grub-mkfont.c: Build fix for argp.h with older gcc.
a85e8e
a85e8e
---
a85e8e
 util/grub-mkfont.c | 4 ++++
d41074
 ChangeLog          | 4 ++++
a85e8e
 2 files changed, 8 insertions(+)
a85e8e
a85e8e
diff --git a/util/grub-mkfont.c b/util/grub-mkfont.c
d41074
index 3de07ee9c06..e6485b40f28 100644
a85e8e
--- a/util/grub-mkfont.c
a85e8e
+++ b/util/grub-mkfont.c
a85e8e
@@ -33,7 +33,11 @@
a85e8e
 
a85e8e
 #ifndef GRUB_BUILD
a85e8e
 #define _GNU_SOURCE	1
a85e8e
+#pragma GCC diagnostic ignored "-Wmissing-prototypes"
a85e8e
+#pragma GCC diagnostic ignored "-Wmissing-declarations"
a85e8e
 #include <argp.h>
a85e8e
+#pragma GCC diagnostic error "-Wmissing-prototypes"
a85e8e
+#pragma GCC diagnostic error "-Wmissing-declarations"
a85e8e
 #endif
a85e8e
 #include <assert.h>
a85e8e
 
d41074
diff --git a/ChangeLog b/ChangeLog
d41074
index 1a822f3d2f2..f2bba8402c5 100644
d41074
--- a/ChangeLog
d41074
+++ b/ChangeLog
d41074
@@ -1,3 +1,7 @@
d41074
+2014-02-03  Vladimir Serbinenko  <phcoder@gmail.com>
d41074
+
d41074
+	* util/grub-mkfont.c: Build fix for argp.h with older gcc.
d41074
+
d41074
 2014-01-29  Vladimir Serbinenko  <phcoder@gmail.com>
d41074
 
d41074
 	* grub-core/disk/ahci.c: Increase timeout. Some SSDs take up to