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

6b3c76
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
6b3c76
Subject: [PATCH 056/261] * util/grub-mkfont.c: Build fix for argp.h with older
6b3c76
 gcc.
a85e8e
a85e8e
---
d41074
 ChangeLog          | 4 ++++
6b3c76
 util/grub-mkfont.c | 4 ++++
a85e8e
 2 files changed, 8 insertions(+)
a85e8e
6b3c76
diff --git a/ChangeLog b/ChangeLog
6b3c76
index 1a822f3d2..f2bba8402 100644
6b3c76
--- a/ChangeLog
6b3c76
+++ b/ChangeLog
6b3c76
@@ -1,3 +1,7 @@
6b3c76
+2014-02-03  Vladimir Serbinenko  <phcoder@gmail.com>
6b3c76
+
6b3c76
+	* util/grub-mkfont.c: Build fix for argp.h with older gcc.
6b3c76
+
6b3c76
 2014-01-29  Vladimir Serbinenko  <phcoder@gmail.com>
6b3c76
 
6b3c76
 	* 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
6b3c76
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
 
6b3c76
-- 
6b3c76
2.13.5
6b3c76