mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] u-boot-mkimage: apply OS X support
Date: Thu, 19 Jan 2012 22:37:52 +0100	[thread overview]
Message-ID: <20120119213752.GE4854@pengutronix.de> (raw)
In-Reply-To: <1326986988-56140-1-git-send-email-andreas@biessmann.de>

On Thu, Jan 19, 2012 at 04:29:48PM +0100, Andreas Bießmann wrote:
> 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?

Well, this may be needed even if u-boot is not compiled. But maybe we could
just use some u-boot release as the source tarball for this package and
only build mkimage?

Michael

>  .../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

-- Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2012-01-19 21:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-19 15:29 Andreas Bießmann
2012-01-19 21:37 ` Michael Olbrich [this message]
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=20120119213752.GE4854@pengutronix.de \
    --to=m.olbrich@pengutronix.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