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

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