Created attachment 220832 [details] patch Seems to build fine for me. Probably OK on ARMv7 too.
Sorry, was mistaken.
Created attachment 220833 [details] patch
This seems to fix it.
Created attachment 220837 [details] v0 It'd be nice to have neon optimization on arm. Try the attached patch. The version is old, it should be updated to something recent. Since it's a google product I assume it follows the same update pattern as lang/v8: https://github.com/freebsd/freebsd-ports/blob/master/lang/v8/Makefile#L3-L7
(In reply to Mikael Urankar from comment #4) Thanks, that does sound like a better solution, but it fails to build for me: [00:00:16] ld: error: libyuv.so: undefined reference to SumSquareError_NEON [--no-allow-shlib-undefined] [00:00:16] ld: error: libyuv.so: undefined reference to ABGRToUVRow_NEON [--no-allow-shlib-undefined] and lots more symbols...
(In reply to Steve Wills from comment #5) Weird, can you paste the full build log please?
Created attachment 220845 [details] log file take a look
(In reply to Steve Wills from comment #7) thanks, the *neon64.cc files are not compiled, can you double check that files/patch-CMakeLists.txt is present or CMakeLists.txt is correctly patched?
(In reply to Mikael Urankar from comment #8) Sorry, yes, I see now, I made a mistake applying the patch. It seems good now, thanks.
Created attachment 220853 [details] build failure on i386 It does seem to fail on i386 now tho.
Created attachment 220908 [details] v0 I can't figure out why it fails on 11.4, let's update the port to 0.0.1741, it builds fine on x86 and aarch64
Created attachment 220947 [details] updated patch I made a few minor changes, here's an updated version. Looks good to me, builds fine etc.
A commit references this bug: Author: swills Date: Sun Jan 17 17:57:18 UTC 2021 New revision: 561844 URL: https://svnweb.freebsd.org/changeset/ports/561844 Log: graphics/libyuv: fix build on aarch64 PR: 252062 Submitted by: mikael Approved by: maintainer timeout (corsmith@gmail.com, >2 weeks) Changes: head/graphics/libyuv/Makefile head/graphics/libyuv/distinfo head/graphics/libyuv/files/libyuv.pc.in head/graphics/libyuv/files/patch-Makefile head/graphics/libyuv/pkg-plist