gnu: u-boot-tools: Fix segfault while running tests.

Fixes <https://issues.guix.gnu.org/74270>.

* gnu/packages/patches/u-boot-calloc-visibility.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/bootloaders.scm (u-boot): Use it.

Reported-by: Jean-Francois GUILLAUME <Jean-Francois.Guillaume@univ-nantes.fr>
Reported-by: Christopher Howard <christopher@librehacker.com>
Change-Id: Id0023e17367a80a0d1abd4a80b7d8e3a0c3cc5bc
This commit is contained in:
Ludovic Courtès 2024-11-18 09:58:23 +01:00
parent b0416b8503
commit e526b8b11d
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
3 changed files with 21 additions and 1 deletions

View file

@ -758,7 +758,8 @@ tree binary files. These are board description files used by Linux and BSD.")
(patches
(list %u-boot-rockchip-inno-usb-patch
%u-boot-build-without-libcrypto-patch
%u-boot-allow-disabling-openssl-patch))
%u-boot-allow-disabling-openssl-patch
(search-patch "u-boot-calloc-visibility.patch")))
(method url-fetch)
(uri (string-append
"https://ftp.denx.de/pub/u-boot/"