Created attachment 195591 [details] rubygem-ffi-arm.patch This patch adds type definitions for armvX and aarch64 (by symlinking to x86 since I don't think there's any significant difference). Tested: rubygem-scrypt (bug 229731) works on both aarch64 and armv7
Also PR to upstream: https://github.com/ffi/ffi/pull/644
A commit references this bug: Author: sunpoet Date: Sun Jul 29 19:28:40 UTC 2018 New revision: 475850 URL: https://svnweb.freebsd.org/changeset/ports/475850 Log: Add arm/aarch64 support PR: 230147 Submitted by: Greg V <greg@unrelenting.technology> Changes: head/devel/rubygem-ffi/Makefile head/devel/rubygem-ffi/files/patch-ffi.gemspec