mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-28 15:46:53 +00:00
45 lines
1.3 KiB
Diff
45 lines
1.3 KiB
Diff
|
From a598e74ddc4b0c4716b57ed65e804e4db8941486 Mon Sep 17 00:00:00 2001
|
||
|
From: Vladimir Serbinenko <phcoder@gmail.com>
|
||
|
Date: Mon, 3 Feb 2014 14:35:51 +0100
|
||
|
Subject: [PATCH 052/112] * util/grub-mkrescue.c: Build fix for argp.h
|
||
|
with older gcc.
|
||
|
|
||
|
---
|
||
|
ChangeLog | 4 ++++
|
||
|
util/grub-mkrescue.c | 4 ++++
|
||
|
2 files changed, 8 insertions(+)
|
||
|
|
||
|
diff --git a/ChangeLog b/ChangeLog
|
||
|
index 2605dda..8307e11 100644
|
||
|
--- a/ChangeLog
|
||
|
+++ b/ChangeLog
|
||
|
@@ -1,5 +1,9 @@
|
||
|
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.
|
||
|
|
||
|
2014-01-29 Vladimir Serbinenko <phcoder@gmail.com>
|
||
|
diff --git a/util/grub-mkrescue.c b/util/grub-mkrescue.c
|
||
|
index 34e0b7a..e719839 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>
|
||
|
--
|
||
|
1.8.5.3
|
||
|
|