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

28f7f8
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
39700a
From: Vladimir Serbinenko <phcoder@gmail.com>
39700a
Date: Mon, 3 Feb 2014 14:35:51 +0100
28f7f8
Subject: [PATCH] * util/grub-mkrescue.c: Build fix for argp.h with older gcc.
39700a
39700a
---
39700a
 util/grub-mkrescue.c | 4 ++++
28f7f8
 ChangeLog            | 4 ++++
39700a
 2 files changed, 8 insertions(+)
39700a
39700a
diff --git a/util/grub-mkrescue.c b/util/grub-mkrescue.c
28f7f8
index 34e0b7affb1..e719839820b 100644
39700a
--- a/util/grub-mkrescue.c
39700a
+++ b/util/grub-mkrescue.c
39700a
@@ -25,7 +25,11 @@
39700a
 #include <grub/emu/exec.h>
39700a
 #include <grub/emu/config.h>
39700a
 #include <grub/emu/hostdisk.h>
39700a
+#pragma GCC diagnostic ignored "-Wmissing-prototypes"
39700a
+#pragma GCC diagnostic ignored "-Wmissing-declarations"
39700a
 #include <argp.h>
39700a
+#pragma GCC diagnostic error "-Wmissing-prototypes"
39700a
+#pragma GCC diagnostic error "-Wmissing-declarations"
39700a
 
39700a
 #include <sys/types.h>
39700a
 #include <sys/wait.h>
28f7f8
diff --git a/ChangeLog b/ChangeLog
28f7f8
index f2bba8402c5..f4a472144b1 100644
28f7f8
--- a/ChangeLog
28f7f8
+++ b/ChangeLog
28f7f8
@@ -1,3 +1,7 @@
28f7f8
+2014-02-03  Vladimir Serbinenko  <phcoder@gmail.com>
28f7f8
+
28f7f8
+	* util/grub-mkrescue.c: Build fix for argp.h with older gcc.
28f7f8
+
28f7f8
 2014-02-03  Vladimir Serbinenko  <phcoder@gmail.com>
28f7f8
 
28f7f8
 	* util/grub-mkfont.c: Build fix for argp.h with older gcc.