Blame SOURCES/0057-util-grub-mkrescue.c-Build-fix-for-argp.h-with-older.patch

a85e8e
From 5d3c633229d54d0e3825fe0a9775858a93a664a7 Mon Sep 17 00:00:00 2001
a85e8e
From: Vladimir Serbinenko <phcoder@gmail.com>
a85e8e
Date: Mon, 3 Feb 2014 14:35:51 +0100
a85e8e
Subject: [PATCH 057/260] * util/grub-mkrescue.c: Build fix for argp.h with
a85e8e
 older gcc.
a85e8e
a85e8e
---
a85e8e
 ChangeLog            | 4 ++++
a85e8e
 util/grub-mkrescue.c | 4 ++++
a85e8e
 2 files changed, 8 insertions(+)
a85e8e
a85e8e
diff --git a/ChangeLog b/ChangeLog
a85e8e
index f2bba8402..f4a472144 100644
a85e8e
--- a/ChangeLog
a85e8e
+++ b/ChangeLog
a85e8e
@@ -1,5 +1,9 @@
a85e8e
 2014-02-03  Vladimir Serbinenko  <phcoder@gmail.com>
a85e8e
 
a85e8e
+	* util/grub-mkrescue.c: Build fix for argp.h with older gcc.
a85e8e
+
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
diff --git a/util/grub-mkrescue.c b/util/grub-mkrescue.c
a85e8e
index 34e0b7aff..e71983982 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>
a85e8e
-- 
a85e8e
2.13.0
a85e8e