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

a85e8e
From 1e22128933aa895e18593039c5a70ecb4e081491 Mon Sep 17 00:00:00 2001
a85e8e
From: Vladimir Serbinenko <phcoder@gmail.com>
a85e8e
Date: Mon, 3 Feb 2014 14:34:27 +0100
a85e8e
Subject: [PATCH 056/260] * util/grub-mkfont.c: Build fix for argp.h with older
a85e8e
 gcc.
a85e8e
a85e8e
---
a85e8e
 ChangeLog          | 4 ++++
a85e8e
 util/grub-mkfont.c | 4 ++++
a85e8e
 2 files changed, 8 insertions(+)
a85e8e
a85e8e
diff --git a/ChangeLog b/ChangeLog
a85e8e
index 1a822f3d2..f2bba8402 100644
a85e8e
--- a/ChangeLog
a85e8e
+++ b/ChangeLog
a85e8e
@@ -1,3 +1,7 @@
a85e8e
+2014-02-03  Vladimir Serbinenko  <phcoder@gmail.com>
a85e8e
+
a85e8e
+	* util/grub-mkfont.c: Build fix for argp.h with older gcc.
a85e8e
+
a85e8e
 2014-01-29  Vladimir Serbinenko  <phcoder@gmail.com>
a85e8e
 
a85e8e
 	* grub-core/disk/ahci.c: Increase timeout. Some SSDs take up to
a85e8e
diff --git a/util/grub-mkfont.c b/util/grub-mkfont.c
a85e8e
index 3de07ee9c..e6485b40f 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
 
a85e8e
-- 
a85e8e
2.13.0
a85e8e