Created attachment 227376 [details] lang/gforth: unbreak on armv6 and armv7 With a recent update to devel/libffcall, lang/gforth is no longer ignored on armv6 and armv7. This patch fixes the insufficient word size check to correctly detect these architectures, making the port build on armv6 and armv7. Tested with Poudriere on armv7 FreeBSD 13.0-RELEASE.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=abc8ea44a2171da6cd0f97b44b854e1428d37535 commit abc8ea44a2171da6cd0f97b44b854e1428d37535 Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2021-08-25 10:56:26 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2021-08-25 10:56:54 +0000 lang/gforth: attempt to unbreak the port on i386, armv6, and armv7 - Partially apply upstream commit 9f35279358 to unbreak the build on i386 - With a recent update of devel/libffcall in 58a8a0aa37a8, the port is no longer ignored on armv6 and armv7. Amend the word size check so it can be built on these architectures PR: 258003 lang/gforth/Makefile | 5 ++--- lang/gforth/files/patch-engine_main.c (new) | 29 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 3 deletions(-)
Committed along with other modifications, thanks!