From 034d21df5b097c50938061ed1f3aa2611f503c95 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Tue, 3 Dec 2024 23:01:57 +0100 Subject: [PATCH] ABI: keep FreeBSD's specifics for old arm binaries really specific --- libpkg/pkg_elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpkg/pkg_elf.c b/libpkg/pkg_elf.c index ab6270ad3..6f2a8e864 100644 --- a/libpkg/pkg_elf.c +++ b/libpkg/pkg_elf.c @@ -277,7 +277,7 @@ analyse_elf(struct pkg *pkg, const char *fpath) } #ifdef __FreeBSD__ - if (elfhdr.e_ident[EI_OSABI] != ELFOSABI_FREEBSD && + if (ctx.abi.os == PKG_OS_FREEBSD && elfhdr.e_ident[EI_OSABI] != ELFOSABI_FREEBSD && !is_old_freebsd_armheader(&elfhdr)) { ret = EPKG_END; goto cleanup;