All of lore.kernel.org
 help / color / mirror / Atom feed
* Patch to compile grub2 with Apple compiler
@ 2014-04-07 11:21 Yves Blusseau
  2014-04-07 15:04 ` SevenBits
  2014-04-07 19:51 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 2 replies; 20+ messages in thread
From: Yves Blusseau @ 2014-04-07 11:21 UTC (permalink / raw)
  To: The development of GNU GRUB


[-- Attachment #1.1: Type: text/plain, Size: 72 bytes --]

Hi,

this is a patch to allow compilation of grub2 with Apple Compiler


[-- Attachment #1.2: apple__bzero-declaration.patch --]
[-- Type: application/octet-stream, Size: 1218 bytes --]

From 7b8124e3a38c270c1cbe32ee0f231395f71c44a6 Mon Sep 17 00:00:00 2001
From: Yves Blusseau <blusseau@zetam.org>
Date: Mon, 7 Apr 2014 13:13:00 +0200
Subject: [PATCH] * include/grub/misc.h: add __bzero declaration for
 compilation on Apple compiler

---
 include/grub/misc.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/grub/misc.h b/include/grub/misc.h
index c6cd456..f52ff28 100644
--- a/include/grub/misc.h
+++ b/include/grub/misc.h
@@ -91,13 +91,12 @@ int GRUB_BUILTIN_ATTR EXPORT_FUNC(memcmp) (const void *s1, const void *s2, grub_
 void *GRUB_BUILTIN_ATTR EXPORT_FUNC(memmove) (void *dest, const void *src, grub_size_t n);
 void *GRUB_BUILTIN_ATTR EXPORT_FUNC(memcpy) (void *dest, const void *src, grub_size_t n);
 void *GRUB_BUILTIN_ATTR EXPORT_FUNC(memset) (void *s, int c, grub_size_t n);
+#endif
 
 #ifdef __APPLE__
 void GRUB_BUILTIN_ATTR EXPORT_FUNC (__bzero) (void *s, grub_size_t n);
 #endif
 
-#endif
-
 int EXPORT_FUNC(grub_memcmp) (const void *s1, const void *s2, grub_size_t n);
 int EXPORT_FUNC(grub_strcmp) (const char *s1, const char *s2);
 int EXPORT_FUNC(grub_strncmp) (const char *s1, const char *s2, grub_size_t n);
-- 
1.8.5.3


[-- Attachment #1.3: Type: text/plain, Size: 24 bytes --]



Regards,
Yves Blusseau

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2980 bytes --]

^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2014-05-02 10:33 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-07 11:21 Patch to compile grub2 with Apple compiler Yves Blusseau
2014-04-07 15:04 ` SevenBits
2014-04-07 19:52   ` Vladimir 'φ-coder/phcoder' Serbinenko
2014-04-07 20:34     ` SevenBits
2014-04-07 21:13       ` Vladimir 'φ-coder/phcoder' Serbinenko
2014-04-07 19:51 ` Vladimir 'φ-coder/phcoder' Serbinenko
2014-04-08  8:54   ` Yves Blusseau
2014-04-08  9:00     ` Vladimir 'phcoder' Serbinenko
2014-04-08 12:27       ` Yves Blusseau
2014-04-08 21:47         ` Vladimir 'φ-coder/phcoder' Serbinenko
2014-04-08 21:50           ` SevenBits
2014-04-08 22:05             ` Vladimir 'φ-coder/phcoder' Serbinenko
2014-04-09 11:11       ` Yves Blusseau
2014-04-10 21:20         ` Vladimir 'φ-coder/phcoder' Serbinenko
2014-04-12  9:00           ` Yves Blusseau
2014-04-12 11:27           ` Yves Blusseau
2014-04-12 17:06             ` Andrey Borzenkov
2014-04-12 17:54               ` Yves Blusseau
2014-04-20 14:10                 ` Vladimir 'φ-coder/phcoder' Serbinenko
2014-05-02 10:33                   ` Yves Blusseau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.