Created attachment 223772 [details] patch This fixes build on powerpc64le since the builtin png does not detect VSX availaibility.
Thank you for the patch, Piotr. Please commit it if builds with both DEMOS=on and DEMOS=off succeed.
Building with DEMOS fails: /wrkdirs/usr/ports/devel/juce/work/JUCE-f37e9a1/modules/juce_audio_device/juce_audio_devices.cpp:188:12: fatal error: 'jack/jack.h' file not found #include <jack/jack.h> But it fails the same way without my patch. And it's not png-related.
(In reply to Piotr Kubaj from comment #2) I think that audio/jack dependency is missing for DEMOS. sorry. Just commit the patch then - I will fix the DEMOS option later. Sorry for this inconvenience! Yuri
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=451d0c283a0f9d6e633cc665f5fec8d21c4162b8 commit 451d0c283a0f9d6e633cc665f5fec8d21c4162b8 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-04-06 12:03:34 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-04-06 12:03:34 +0000 devel/juce: use system png This fixes build on powerpc64le since the builtin png does not detect VSX availaibility. PR: 254726 Approved by: yuri (maintainer) devel/juce/Makefile | 5 +++-- .../juce/files/patch-modules_juce__core_juce__core.h (new) | 14 ++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b195f12abc1ee88c5d35f3d80861b7ec85cd7e7d commit b195f12abc1ee88c5d35f3d80861b7ec85cd7e7d Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-07-25 23:39:18 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-07-26 21:09:55 +0000 devel/juce: fix build on powerpc64le Add back JUCE_INCLUDE_PNGLIB_CODE=0 to use system png. PR: 254726 Approved by: yuri (maintainer) devel/juce/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Piotr, You might want to merge this commit into the quarterly branch as well, so that it doesn't have these failures too. Yuri