From: "Andreas Bießmann" <andreas@biessmann.de>
To: PTXdist ML <ptxdist@pengutronix.de>
Subject: [ptxdist] [PATCH] u-boot-mkimage: apply OS X support
Date: Thu, 19 Jan 2012 16:29:48 +0100 [thread overview]
Message-ID: <1326986988-56140-1-git-send-email-andreas@biessmann.de> (raw)
This is 6f26185435fa196ab6ca605575fc880d2d0b3e27 in mainline u-boot.
Signed-off-by: Andreas Bießmann <andreas@biessmann.de>
---
BTW: how about switching to mainline u-boot here for creating these tools?
.../0001-os_support-prepare-for-OS-X.diff | 23 ++++++++++++++++++++
patches/u-boot-mkimage-2010.03-1/series | 1 +
2 files changed, 24 insertions(+), 0 deletions(-)
create mode 100644 patches/u-boot-mkimage-2010.03-1/0001-os_support-prepare-for-OS-X.diff
diff --git a/patches/u-boot-mkimage-2010.03-1/0001-os_support-prepare-for-OS-X.diff b/patches/u-boot-mkimage-2010.03-1/0001-os_support-prepare-for-OS-X.diff
new file mode 100644
index 0000000..2fe0767
--- /dev/null
+++ b/patches/u-boot-mkimage-2010.03-1/0001-os_support-prepare-for-OS-X.diff
@@ -0,0 +1,23 @@
+diff -Nrupa u-boot-mkimage-2010.03-1.orig/include/os_support.h u-boot-mkimage-2010.03-1/include/os_support.h
+--- u-boot-mkimage-2010.03-1.orig/include/os_support.h 2010-06-16 21:55:35.000000000 +0200
++++ u-boot-mkimage-2010.03-1/include/os_support.h 2012-01-19 16:23:49.000000000 +0100
+@@ -28,7 +28,7 @@
+ #include "mingw_support.h"
+ #endif
+
+-#ifdef __APPLE__
++#if defined(__APPLE__) && __DARWIN_C_LEVEL < 200809L
+ #include "getline.h"
+ #endif
+
+diff -Nrupa u-boot-mkimage-2010.03-1.orig/src/os_support.c u-boot-mkimage-2010.03-1/src/os_support.c
+--- u-boot-mkimage-2010.03-1.orig/src/os_support.c 2010-06-16 21:55:35.000000000 +0200
++++ u-boot-mkimage-2010.03-1/src/os_support.c 2012-01-19 16:23:22.000000000 +0100
+@@ -23,6 +23,6 @@
+ #ifdef __MINGW32__
+ #include "mingw_support.c"
+ #endif
+-#ifdef __APPLE__
++#if defined(__APPLE__) && __DARWIN_C_LEVEL < 200809L
+ #include "getline.c"
+ #endif
diff --git a/patches/u-boot-mkimage-2010.03-1/series b/patches/u-boot-mkimage-2010.03-1/series
index dbf4bb4..c5a228a 100644
--- a/patches/u-boot-mkimage-2010.03-1/series
+++ b/patches/u-boot-mkimage-2010.03-1/series
@@ -1 +1,2 @@
b050c72d52c4e30d5b978ab6758f8dcdbe5c690c-compiler.h-add-uint-typedef.patch
+0001-os_support-prepare-for-OS-X.diff
--
1.7.8.3
--
ptxdist mailing list
ptxdist@pengutronix.de
next reply other threads:[~2012-01-19 15:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-19 15:29 Andreas Bießmann [this message]
2012-01-19 21:37 ` Michael Olbrich
2012-01-20 7:57 ` Andreas Bießmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1326986988-56140-1-git-send-email-andreas@biessmann.de \
--to=andreas@biessmann.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox