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

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