git: c4303139057d - main - audio/giada: fix build on powerpc64le
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 07 Jun 2026 09:14:53 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c4303139057df39ec4f23b2df26f0abc4230ffd3
commit c4303139057df39ec4f23b2df26f0abc4230ffd3
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-06-06 17:53:37 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-06-07 09:13:23 +0000
audio/giada: fix build on powerpc64le
ld: error: undefined symbol:
juce::pnglibNamespace::png_init_filter_functions_vsx(juce::pnglibNamespace::png_struct_def*,
unsigned int)
---
...e_modules_juce__graphics_image__formats_juce__PNGLoader.cpp | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/audio/giada/files/patch-src_deps_juce_modules_juce__graphics_image__formats_juce__PNGLoader.cpp b/audio/giada/files/patch-src_deps_juce_modules_juce__graphics_image__formats_juce__PNGLoader.cpp
new file mode 100644
index 000000000000..93d0afd24551
--- /dev/null
+++ b/audio/giada/files/patch-src_deps_juce_modules_juce__graphics_image__formats_juce__PNGLoader.cpp
@@ -0,0 +1,10 @@
+--- src/deps/juce/modules/juce_graphics/image_formats/juce_PNGLoader.cpp.orig 2026-06-06 17:17:21 UTC
++++ src/deps/juce/modules/juce_graphics/image_formats/juce_PNGLoader.cpp
+@@ -254,6 +254,7 @@
+ #define PNG_LINKAGE_FUNCTION
+
+ #define PNG_ARM_NEON_OPT 0
++ #define PNG_POWERPC_VSX_OPT 0
+
+ #if ! defined (PNG_USER_WIDTH_MAX)
+ #define PNG_USER_WIDTH_MAX 1000000