From owner-svn-ports-all@freebsd.org Tue Feb 6 20:53:55 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7911CF0570F; Tue, 6 Feb 2018 20:53:55 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2A119807E6; Tue, 6 Feb 2018 20:53:55 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 24A711D2B4; Tue, 6 Feb 2018 20:53:55 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w16KrtAG099208; Tue, 6 Feb 2018 20:53:55 GMT (envelope-from kevans@FreeBSD.org) Received: (from kevans@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w16Krsgd099206; Tue, 6 Feb 2018 20:53:54 GMT (envelope-from kevans@FreeBSD.org) Message-Id: <201802062053.w16Krsgd099206@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kevans set sender to kevans@FreeBSD.org using -f From: Kyle Evans Date: Tue, 6 Feb 2018 20:53:54 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: kevans X-SVN-Commit-Paths: in head/sysutils/u-boot-tools: . files X-SVN-Commit-Revision: 461105 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Feb 2018 20:53:55 -0000 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 /* htole32 and friends */ ++# define __BYTE_ORDER BYTE_ORDER ++# define __LITTLE_ENDIAN LITTLE_ENDIAN ++# define __BIG_ENDIAN BIG_ENDIAN + #elif defined(__OpenBSD__) + # include + # define __BYTE_ORDER BYTE_ORDER