Blame SOURCES/0080-grub-core-kern-misc.c-__bzero-Don-t-compile-in-GRUB_.patch
|
|
4fe85b |
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
4fe85b |
From: Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
4fe85b |
Date: Sun, 20 Apr 2014 16:12:41 +0200
|
|
|
4fe85b |
Subject: [PATCH] * grub-core/kern/misc.c (__bzero): Don't compile in
|
|
|
4fe85b |
GRUB_UTIL.
|
|
|
4fe85b |
|
|
|
4fe85b |
Reported by: Yves Blusseau <blusseau@zetam.org>.
|
|
|
4fe85b |
---
|
|
|
4fe85b |
grub-core/kern/misc.c | 3 +++
|
|
|
4fe85b |
ChangeLog | 6 ++++++
|
|
|
4fe85b |
2 files changed, 9 insertions(+)
|
|
|
4fe85b |
|
|
|
4fe85b |
diff --git a/grub-core/kern/misc.c b/grub-core/kern/misc.c
|
|
|
4fe85b |
index 54db2e1254e..c5c815d8d13 100644
|
|
|
4fe85b |
--- a/grub-core/kern/misc.c
|
|
|
4fe85b |
+++ b/grub-core/kern/misc.c
|
|
|
4fe85b |
@@ -542,6 +542,9 @@ memset (void *s, int c, grub_size_t n)
|
|
|
4fe85b |
return grub_memset (s, c, n);
|
|
|
4fe85b |
}
|
|
|
4fe85b |
|
|
|
4fe85b |
+#endif
|
|
|
4fe85b |
+
|
|
|
4fe85b |
+#if !defined(GRUB_UTIL) && defined(__APPLE__)
|
|
|
4fe85b |
void GRUB_BUILTIN_ATTR
|
|
|
4fe85b |
__bzero (void *s, grub_size_t n)
|
|
|
4fe85b |
{
|
|
|
4fe85b |
diff --git a/ChangeLog b/ChangeLog
|
|
|
4fe85b |
index 73a89289945..3b61c0a996d 100644
|
|
|
4fe85b |
--- a/ChangeLog
|
|
|
4fe85b |
+++ b/ChangeLog
|
|
|
4fe85b |
@@ -1,3 +1,9 @@
|
|
|
4fe85b |
+2014-04-20 Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
4fe85b |
+
|
|
|
4fe85b |
+ * grub-core/kern/misc.c (__bzero): Don't compile in GRUB_UTIL.
|
|
|
4fe85b |
+
|
|
|
4fe85b |
+ Reported by: Yves Blusseau <blusseau@zetam.org>.
|
|
|
4fe85b |
+
|
|
|
4fe85b |
2014-04-20 Piotr Krysiuk <piotras@gmail.com>
|
|
|
4fe85b |
|
|
|
4fe85b |
* grub-core/lib/i386/relocator.c: Allow loading old kernels by placing
|