Blame SOURCES/0057-util-grub-mkrescue.c-Build-fix-for-argp.h-with-older.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:35:51 +0100
d41074
Subject: [PATCH] * util/grub-mkrescue.c: Build fix for argp.h with older gcc.
a85e8e
a85e8e
---
a85e8e
 util/grub-mkrescue.c | 4 ++++
d41074
 ChangeLog            | 4 ++++
a85e8e
 2 files changed, 8 insertions(+)
a85e8e
a85e8e
diff --git a/util/grub-mkrescue.c b/util/grub-mkrescue.c
d41074
index 34e0b7affb1..e719839820b 100644
a85e8e
--- a/util/grub-mkrescue.c
a85e8e
+++ b/util/grub-mkrescue.c
a85e8e
@@ -25,7 +25,11 @@
a85e8e
 #include <grub/emu/exec.h>
a85e8e
 #include <grub/emu/config.h>
a85e8e
 #include <grub/emu/hostdisk.h>
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
 
a85e8e
 #include <sys/types.h>
a85e8e
 #include <sys/wait.h>
d41074
diff --git a/ChangeLog b/ChangeLog
d41074
index f2bba8402c5..f4a472144b1 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-mkrescue.c: Build fix for argp.h with older gcc.
d41074
+
d41074
 2014-02-03  Vladimir Serbinenko  <phcoder@gmail.com>
d41074
 
d41074
 	* util/grub-mkfont.c: Build fix for argp.h with older gcc.