Created attachment 227733 [details]
Patch for jpeg-turbo
Backport upstream commits 129f0cb76346ceede8f4d8d87dea8acb0809056c and 173900b1cabb027495ae530c71250bcedc9925d5
Compile and tested on FreeBSD 13.0-STABLE #0 stable/13-n246086-a20c597c6d7 (amd64) (make, make check-plist, make test)
Compile and tested on FreeBSD 13.0-STABLE #0 stable/13-n246453-06887e06864-dirty (arm64) (make, make check-plist, make test)
Poudriere testport OK 12.2-RELEASE (amd64) (including libjpeg-turbo)
Poudriere testport OK 11.4-RELEASE (amd64) (including libjpeg-turbo)
Created attachment 227734 [details]
Patch for jpeg-turbo v2
Remove stray backslash
This looks fine.
Please make sure it builds on aarch64 too.
I only have a small SBC for arm64/aarch64 so I'm not sure if it'll be happy runinng Poudriere but I'll try to give it a go next week (it's currently busy for other work).
Thanks for the exp-run!
It builds fine on aarch64