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

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