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

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