pkgsrc/sysutils/arm-trusted-firmware-fiptool/Makefile
thorpej db6206136a Pluck the following patch from upstream:
tools/fiptool: Fix UUID parsing in blob handling
Commit 0336486 ("Make TF UUID RFC 4122 compliant") changed the scanf
parsing string to handle endianness correctly.
However that changed the number of items sscanf handles, without
adjusting the sanity check just below.

Increase the expected return value from 11 to 16 to let fiptool handle
UUIDs given as blob parameters correctly again.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2019-05-14 04:08:51 +00:00

25 lines
674 B
Makefile

# $NetBSD: Makefile,v 1.4 2019/05/14 04:08:51 thorpej Exp $
GITHUB_PROJECT= arm-trusted-firmware
GITHUB_TAG= v${PKGVERSION_NOREV}
DISTNAME= arm-trusted-firmware-2.0
PKGNAME= ${DISTNAME:S/firmware/firmware-fiptool/}
PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=ARM-software/}
EXTRACT_SUFX= .zip
MAINTAINER= port-arm@NetBSD.org
HOMEPAGE= https://github.com/ARM-software/arm-trusted-firmware/
COMMENT= ARM Trusted Firmware fiptool
LICENSE= modified-bsd
USE_TOOLS+= gmake
WRKSRC= ${WRKDIR}/${DISTNAME}/tools/fiptool
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fiptool ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"