Blame SOURCES/0080-grub-core-kern-misc.c-__bzero-Don-t-compile-in-GRUB_.patch

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