From ce5d67be753e6c3662388fca710884e51c0ca7d8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 26 May 2015 07:46:20 +0200 Subject: [PATCH] uboot-mkimage: ulong -> unsigned long. --- srcpkgs/uboot-mkimage/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/uboot-mkimage/template b/srcpkgs/uboot-mkimage/template index c4dbdbf2266..cc7a2984ea6 100644 --- a/srcpkgs/uboot-mkimage/template +++ b/srcpkgs/uboot-mkimage/template @@ -1,7 +1,7 @@ # Template file for 'uboot-mkimage' pkgname=uboot-mkimage version=2014.01 -revision=2 +revision=3 wrksrc="u-boot-${version}" short_desc="The U-Boot mkimage utility" maintainer="Juan RP " @@ -10,6 +10,9 @@ homepage="http://www.denx.de/wiki/U-Boot/WebHome" distfiles="ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2" checksum=cdaf8c81583abfa2e73da46cfcf87b0cbd9741d9aa766f3b905376e3652d543d +do_configure() { + sed -i 's,ulong,unsigned long,g' include/image.h +} do_build() { if [ -n "$XBPS_CROSS_TRIPLET" ]; then make HOSTSTRIP=: HOSTCC="$XBPS_CROSS_TRIPLET-gcc" tools