You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.2 KiB
38 lines
1.2 KiB
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
|
From: Vladimir Serbinenko <phcoder@gmail.com> |
|
Date: Mon, 3 Feb 2014 14:35:51 +0100 |
|
Subject: [PATCH] * util/grub-mkrescue.c: Build fix for argp.h with older gcc. |
|
|
|
--- |
|
util/grub-mkrescue.c | 4 ++++ |
|
ChangeLog | 4 ++++ |
|
2 files changed, 8 insertions(+) |
|
|
|
diff --git a/util/grub-mkrescue.c b/util/grub-mkrescue.c |
|
index 34e0b7affb1..e719839820b 100644 |
|
--- a/util/grub-mkrescue.c |
|
+++ b/util/grub-mkrescue.c |
|
@@ -25,7 +25,11 @@ |
|
#include <grub/emu/exec.h> |
|
#include <grub/emu/config.h> |
|
#include <grub/emu/hostdisk.h> |
|
+#pragma GCC diagnostic ignored "-Wmissing-prototypes" |
|
+#pragma GCC diagnostic ignored "-Wmissing-declarations" |
|
#include <argp.h> |
|
+#pragma GCC diagnostic error "-Wmissing-prototypes" |
|
+#pragma GCC diagnostic error "-Wmissing-declarations" |
|
|
|
#include <sys/types.h> |
|
#include <sys/wait.h> |
|
diff --git a/ChangeLog b/ChangeLog |
|
index f2bba8402c5..f4a472144b1 100644 |
|
--- a/ChangeLog |
|
+++ b/ChangeLog |
|
@@ -1,3 +1,7 @@ |
|
+2014-02-03 Vladimir Serbinenko <phcoder@gmail.com> |
|
+ |
|
+ * util/grub-mkrescue.c: Build fix for argp.h with older gcc. |
|
+ |
|
2014-02-03 Vladimir Serbinenko <phcoder@gmail.com> |
|
|
|
* util/grub-mkfont.c: Build fix for argp.h with older gcc.
|
|
|