From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mediacenter.hi.pengutronix.de ([2001:6f8:1178:2::65]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Rnzg8-0006Yp-Ut for ptxdist@pengutronix.de; Thu, 19 Jan 2012 22:37:52 +0100 Received: from mol by mediacenter.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1Rnzg8-00029Y-Tw for ptxdist@pengutronix.de; Thu, 19 Jan 2012 22:37:52 +0100 Date: Thu, 19 Jan 2012 22:37:52 +0100 From: Michael Olbrich Message-ID: <20120119213752.GE4854@pengutronix.de> References: <1326986988-56140-1-git-send-email-andreas@biessmann.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1326986988-56140-1-git-send-email-andreas@biessmann.de> Subject: Re: [ptxdist] [PATCH] u-boot-mkimage: apply OS X support Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Thu, Jan 19, 2012 at 04:29:48PM +0100, Andreas Bie=DFmann wrote: > This is 6f26185435fa196ab6ca605575fc880d2d0b3e27 in mainline u-boot. > = > Signed-off-by: Andreas Bie=DFmann > --- > 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-prep= are-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-O= S-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.d= iff > @@ -0,0 +1,23 @@ > +diff -Nrupa u-boot-mkimage-2010.03-1.orig/include/os_support.h u-boot-mk= image-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.00= 0000000 +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-mkimag= e-2010.03-1/src/os_support.c > +--- u-boot-mkimage-2010.03-1.orig/src/os_support.c 2010-06-16 21:55:35.0= 00000000 +0200 > ++++ u-boot-mkimage-2010.03-1/src/os_support.c 2012-01-19 16:23:22.000000= 000 +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-mki= mage-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.pat= ch > +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