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

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