dev-embedded/u-boot-tools: fix build on musl, bug #703132
authorSergei Trofimovich <slyfox@gentoo.org>
Mon, 16 Dec 2019 23:14:56 +0000 (23:14 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Mon, 16 Dec 2019 23:15:10 +0000 (23:15 +0000)
commit069a96a2ea5aaa7d4d27d2423f4a1845663272eb
tree2a555de8f0f0ac60968178fa0dc66bcd928a6515
parent30f8642dc3d5c1ace50a75a11d597e2573db5a5c
dev-embedded/u-boot-tools: fix build on musl, bug #703132

include/compiler.h implies to define 'ulong' type.
glibc and musl define it on different conditions.
As a result tools fail to build on musl as:
    include/env.h:159:1: error: unknown type name 'ulong'; did you mean 'long'?

We fix it by defining 'ulong' unconditionally (as on BSD).

Reported-by: eroen
Closes: https://bugs.gentoo.org/703132
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
dev-embedded/u-boot-tools/files/u-boot-tools-2019.10-musl-ulong.patch [new file with mode: 0644]
dev-embedded/u-boot-tools/u-boot-tools-2019.10.ebuild