Index: head/sysutils/u-boot-tools/Makefile =================================================================== --- head/sysutils/u-boot-tools/Makefile +++ head/sysutils/u-boot-tools/Makefile @@ -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} Index: head/sysutils/u-boot-tools/files/patch-include_compiler.h =================================================================== --- head/sysutils/u-boot-tools/files/patch-include_compiler.h +++ head/sysutils/u-boot-tools/files/patch-include_compiler.h @@ -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