Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Jun 2026 09:14:42 +0000
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bf0a994806a9 - main - audio/odin2-synthesizer: fix build on powerpc64le
Message-ID:  <6a253682.1bfc7.33ab47b2@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bf0a994806a94c1d38f798058a01e8afe5394503

commit bf0a994806a94c1d38f798058a01e8afe5394503
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-06-05 07:13:54 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-06-07 09:13:10 +0000

    audio/odin2-synthesizer: fix build on powerpc64le
    
      ld: error: undefined symbol:
      juce::pnglibNamespace::png_init_filter_functions_vsx(juce::pnglibNamespace::png_struct_def*,
      unsigned int)
---
 ...2_modules_juce__graphics_image__formats_juce__PNGLoader.cpp | 10 ++++++++++
 ...E_modules_juce__graphics_image__formats_juce__PNGLoader.cpp | 10 ++++++++++
 2 files changed, 20 insertions(+)

diff --git a/audio/odin2-synthesizer/files/patch-libs_JUCELV2_modules_juce__graphics_image__formats_juce__PNGLoader.cpp b/audio/odin2-synthesizer/files/patch-libs_JUCELV2_modules_juce__graphics_image__formats_juce__PNGLoader.cpp
new file mode 100644
index 000000000000..f09696fb4900
--- /dev/null
+++ b/audio/odin2-synthesizer/files/patch-libs_JUCELV2_modules_juce__graphics_image__formats_juce__PNGLoader.cpp
@@ -0,0 +1,10 @@
+--- libs/JUCELV2/modules/juce_graphics/image_formats/juce_PNGLoader.cpp.orig	2026-06-05 05:17:21 UTC
++++ libs/JUCELV2/modules/juce_graphics/image_formats/juce_PNGLoader.cpp
+@@ -264,6 +264,7 @@ namespace pnglibNamespace
+   #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
diff --git a/audio/odin2-synthesizer/files/patch-libs_JUCE_modules_juce__graphics_image__formats_juce__PNGLoader.cpp b/audio/odin2-synthesizer/files/patch-libs_JUCE_modules_juce__graphics_image__formats_juce__PNGLoader.cpp
new file mode 100644
index 000000000000..e5fff85c6de4
--- /dev/null
+++ b/audio/odin2-synthesizer/files/patch-libs_JUCE_modules_juce__graphics_image__formats_juce__PNGLoader.cpp
@@ -0,0 +1,10 @@
+--- libs/JUCE/modules/juce_graphics/image_formats/juce_PNGLoader.cpp.orig	2026-06-05 05:17:21 UTC
++++ libs/JUCE/modules/juce_graphics/image_formats/juce_PNGLoader.cpp
+@@ -264,6 +264,7 @@ namespace pnglibNamespace
+   #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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a253682.1bfc7.33ab47b2>