commit:     ab4fb22897c589dd3c33e7de4f99c10eade2ec9d
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  2 12:00:43 2022 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Sat Jul  2 12:01:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab4fb228

sys-apps/memtest86+: fix direct size call

Closes: https://bugs.gentoo.org/855587

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 sys-apps/memtest86+/memtest86+-6.00_beta2.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-apps/memtest86+/memtest86+-6.00_beta2.ebuild 
b/sys-apps/memtest86+/memtest86+-6.00_beta2.ebuild
index 9738d6afa80e..eb5778e25fdf 100644
--- a/sys-apps/memtest86+/memtest86+-6.00_beta2.ebuild
+++ b/sys-apps/memtest86+/memtest86+-6.00_beta2.ebuild
@@ -34,12 +34,14 @@ src_prepare() {
                -e 's/^AS = as/AS +=/' \
                -e '/^CC/d' \
                -e 's/objcopy/$(OBJCOPY)/' \
+               -e 's/shell size/shell $(SIZE)/' \
                build{32,64}/Makefile || die
        default
 }
 
 src_compile() {
        tc-export OBJCOPY
+       export SIZE=$(tc-getPROG SIZE size)
        pushd build32
                use bios32 && emake memtest.bin
                use efi32 && emake memtest.efi

Reply via email to