Date: Tue, 6 Feb 2018 20:53:54 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r461105 - in head/sysutils/u-boot-tools: . files Message-ID: <201802062053.w16Krsgd099206@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevans (src committer) Date: Tue Feb 6 20:53:54 2018 New Revision: 461105 URL: https://svnweb.freebsd.org/changeset/ports/461105 Log: sysutils/u-boot-tools: Add recently upstream patch to fix endianness checks Patch originally sent upstream by jhibbits@; fix endianness checks so that powerpc hosts can actually build powerpc images. Backport it to our 2017.09 since it won't appear in a release until 2018.03 at the earliest. Reviewed by: manu Approved by: imp (ports) Differential Revision: https://reviews.freebsd.org/D14219 Added: head/sysutils/u-boot-tools/files/ head/sysutils/u-boot-tools/files/patch-include_compiler.h (contents, props changed) Modified: head/sysutils/u-boot-tools/Makefile Modified: head/sysutils/u-boot-tools/Makefile ============================================================================== --- head/sysutils/u-boot-tools/Makefile Tue Feb 6 20:49:33 2018 (r461104) +++ head/sysutils/u-boot-tools/Makefile Tue Feb 6 20:53:54 2018 (r461105) @@ -3,6 +3,7 @@ PORTNAME= u-boot-tools DISTVERSION= 2017.09 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.denx.de/pub/u-boot/ DISTNAME= u-boot-${PORTVERSION} Added: head/sysutils/u-boot-tools/files/patch-include_compiler.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/u-boot-tools/files/patch-include_compiler.h Tue Feb 6 20:53:54 2018 (r461105) @@ -0,0 +1,12 @@ +--- include/compiler.h.orig 2018-02-06 02:48:39 UTC ++++ include/compiler.h +@@ -50,6 +50,9 @@ typedef unsigned long ulong; + #endif + #ifdef __FreeBSD__ + # include <sys/endian.h> /* htole32 and friends */ ++# define __BYTE_ORDER BYTE_ORDER ++# define __LITTLE_ENDIAN LITTLE_ENDIAN ++# define __BIG_ENDIAN BIG_ENDIAN + #elif defined(__OpenBSD__) + # include <endian.h> + # define __BYTE_ORDER BYTE_ORDER
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802062053.w16Krsgd099206>