Created attachment 217809 [details]
Codeveloped with Brandon Bergen (bdragon@).
This patch fixes build on powerpc64, adding necessary code variants for FreeBSD, where necessary. Apart from that, FreeBSD installs libs to lib, not lib64.
Also coredump support seems to be disabled for ppc64, so adjust Makefile for that. Since C11 atomic features are necessary, add USES=compiler:c11.
I made minor changes to patch configure directly (skipping USES=autoreconf).
BTW, do you have any plan to submit the patch to upstream?
(In reply to Sunpoet Po-Chuan Hsieh from comment #1)
Yes, once it's committed here, I'll send it upstream.
A commit references this bug:
Date: Wed Sep 9 20:40:09 UTC 2020
New revision: 548157
Fix build on powerpc64
Submitted by: pkubaj