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

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