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