app-crypt/sbsigntools: fix tests w/ >=binutils-2.46

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-03-22 00:28:23 +00:00
parent fc823dcf31
commit beec7edf04
2 changed files with 15 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
Based on https://src.fedoraproject.org/rpms/sbsigntools/c/bd31748bedce0f3c8ff3b62edcd1171a26c68a9d?branch=rawhide
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -18,7 +18,7 @@ if TEST_BINARY_FORMAT
EFILDFLAGS = --defsym=EFI_SUBSYSTEM=0x0a
FORMAT = -O binary
else
-FORMAT = --target=efi-app-$(EFI_ARCH)
+FORMAT = --output-target=efi-app-$(EFI_ARCH)
endif
check_DATA = $(test_key) $(test_cert)
check_SCRIPTS = test-wrapper.sh

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -36,6 +36,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-0.9.4-no-werror.patch
"${FILESDIR}"/${PN}-0.9.5-binutils-2.46.patch
)
src_prepare() {