From nobody Sun Jun 7 09:14:44 2026 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gY8dJ4DvYz6gJJj for ; Sun, 07 Jun 2026 09:14:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gY8dJ2bxJz3CPm for ; Sun, 07 Jun 2026 09:14:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780823684; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rlAiwbyJNBkzf60L9x4ZEAkrqbEt1vjnEsph4OyxadA=; b=iAxp6yHxinnHgc1Dh9hb3NKZwKIqDebKZJ6Hi9zo/AxtP9A4hnD099ew3mBrKeBcinP4XR gwzUUjTpw/usyx4LSW0QQtpt0a/p14sZ4PwAbI+HKP6fNnn502sKmskZ9wqbSZMNXoRuQk HLQfjdJR3Ap9A+Of3tbiycyf2CxlxhxXQGY9vdQaDpFpXbUeD2RjjXYrRYIQTbq60TM4Ks 2qed7NfUdQP2W5hdx5cjpaNtDT/7KqgPzZ+kbh/HRIiCrINZdnpzz2lnPn1dTCv/Zz5uu3 MTSWMpX0xnbsgT0/vr1ZBsiZA9bT+CU2dSK0D5jbQ+7od6KzTLpRoTI1Jc4BtA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1780823684; a=rsa-sha256; cv=none; b=pVessBIAxh7HfZ9gLu4kGdsoOo3dxNRvjobeuQ0EwR+1uSGUrBXqnuk7clnGLMJvQspz24 3lWXuDV8+P/yRn/W9XxLErZklIuclTGLKPXt574Lq3KjCw6vzN0KiVmbZvVS9N+0OYX7st wNxKPPXscclNoYQzTxKJFoXmOG0JwevYDSrBym7FYXItJ0Z8zw3KBHoKrCSh2SPfG6zweK bVNEE+UOV1V1ikgVzygGmGx7FZ9tCSV2H1YkIVqfi7xeFOdO3VTGBkxoYyZL0rtD7LdYu+ UQU9gfm42XGwvFFF8ukcop2kdKd3glVwjnTAM+w+NsHloDlnGOKfIDBu13Hs8Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780823684; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rlAiwbyJNBkzf60L9x4ZEAkrqbEt1vjnEsph4OyxadA=; b=Hf6M5n29Zfq3IcDXwBETXv9LXr05SqzXqcNTjg9VeEqXhQT6OAJIUnPDSVlH4wjYZUi7sd YhRBh101mMzjVHV/5STR0NQKb8y4MzVF8kiiQMKWw7FNPZXnXwK06nXnL+QwRJfwvSGStl ijCvuXyHkHvfYqfaKR5HUaEAxfG5QYGviIv42eRGxdILr6AF9SxPwNh01LNLddAmnhjYB/ Fkhx+xD6dOtK4XkhM8ekh8d5rKcytbUSeNimferyFpTcTLG+fciHTtLXGCcyK5UKs9j5oJ bwY95u9rjwklWzgETzl86i1BqhOS2ERfWgZRDujxHAZM/zPAZRGhKMwMQjjM3g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gY8dJ29fdzvlm for ; Sun, 07 Jun 2026 09:14:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1d189 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 07 Jun 2026 09:14:44 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 575b654dc46a - main - audio/surge-synthesizer-xt-lv2: fix build on powerpc64* List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 575b654dc46aa032410861925a393e68fab679ab Auto-Submitted: auto-generated Date: Sun, 07 Jun 2026 09:14:44 +0000 Message-Id: <6a253684.1d189.a7b88b3@gitrepo.freebsd.org> The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=575b654dc46aa032410861925a393e68fab679ab commit 575b654dc46aa032410861925a393e68fab679ab Author: Piotr Kubaj AuthorDate: 2026-06-05 07:58:41 +0000 Commit: Piotr Kubaj CommitDate: 2026-06-07 09:13:13 +0000 audio/surge-synthesizer-xt-lv2: fix build on powerpc64* ld: error: undefined symbol: juce::pnglibNamespace::png_init_filter_functions_vsx(juce::pnglibNamespace::png_struct_def*, unsigned int) --- audio/surge-synthesizer-xt-lv2/Makefile | 6 +++++ ...patch-libs_JUCE_modules_juce__dsp_juce__dsp.cpp | 11 ++++++++ .../patch-libs_JUCE_modules_juce__dsp_juce__dsp.h | 29 ++++++++++++++++++++++ ...ce__graphics_image__formats_juce__PNGLoader.cpp | 10 ++++++++ 4 files changed, 56 insertions(+) diff --git a/audio/surge-synthesizer-xt-lv2/Makefile b/audio/surge-synthesizer-xt-lv2/Makefile index eaad5aecd942..ed645a98bc77 100644 --- a/audio/surge-synthesizer-xt-lv2/Makefile +++ b/audio/surge-synthesizer-xt-lv2/Makefile @@ -87,6 +87,12 @@ PORTSCOUT= ignore:1 # conflicts with old-gen audio/surge-synthesizer-lv2 CMAKE_ARGS+= -DARM_NATIVE=native # based on https://github.com/surge-synthesizer/surge/tree/release/1.9.0#building-for-arm-platforms .endif +.if ${ARCH:Mpowerpc64*} +CMAKE_ON+= SURGE_SKIP_LUA # LuaJIT has no ppc64 backend +CFLAGS+= -Wno-deprecated-altivec-src-compat # simde vector-bool warning is fatal under -Werror +CXXFLAGS+= -Wno-deprecated-altivec-src-compat +.endif + .include post-patch: diff --git a/audio/surge-synthesizer-xt-lv2/files/patch-libs_JUCE_modules_juce__dsp_juce__dsp.cpp b/audio/surge-synthesizer-xt-lv2/files/patch-libs_JUCE_modules_juce__dsp_juce__dsp.cpp new file mode 100644 index 000000000000..8991c3198ae2 --- /dev/null +++ b/audio/surge-synthesizer-xt-lv2/files/patch-libs_JUCE_modules_juce__dsp_juce__dsp.cpp @@ -0,0 +1,11 @@ +--- libs/JUCE/modules/juce_dsp/juce_dsp.cpp.orig 2026-06-05 07:46:02 UTC ++++ libs/JUCE/modules/juce_dsp/juce_dsp.cpp +@@ -79,7 +79,7 @@ + #include "widgets/juce_Chorus.cpp" + + #if JUCE_USE_SIMD +- #if JUCE_INTEL || defined(__riscv) || defined(__EMSCRIPTEN__) ++ #if JUCE_INTEL || defined(__riscv) || defined(__EMSCRIPTEN__) || defined(__powerpc__) + // falkTX patch to 6.* was this so ... add those ORs above + // #if defined(__i386__) || defined(__amd64__) || defined(_M_X64) || defined(_X86_) || defined(_M_IX86) || defined(__riscv) || defined(__EMSCRIPTEN__) + #ifdef __AVX2__ diff --git a/audio/surge-synthesizer-xt-lv2/files/patch-libs_JUCE_modules_juce__dsp_juce__dsp.h b/audio/surge-synthesizer-xt-lv2/files/patch-libs_JUCE_modules_juce__dsp_juce__dsp.h new file mode 100644 index 000000000000..dafb143a7719 --- /dev/null +++ b/audio/surge-synthesizer-xt-lv2/files/patch-libs_JUCE_modules_juce__dsp_juce__dsp.h @@ -0,0 +1,29 @@ +--- libs/JUCE/modules/juce_dsp/juce_dsp.h.orig 2026-06-05 07:45:45 UTC ++++ libs/JUCE/modules/juce_dsp/juce_dsp.h +@@ -84,6 +84,17 @@ + + #include + ++#elif defined (__powerpc__) ++ ++ #ifndef JUCE_USE_SIMD ++ #define JUCE_USE_SIMD 1 ++ #endif ++ ++ #ifndef SIMDE_ENABLE_NATIVE_ALIASES ++ #define SIMDE_ENABLE_NATIVE_ALIASES ++ #endif ++ #include ++ + #else + + // No SIMD Support +@@ -225,7 +236,7 @@ namespace util + #include "native/juce_SIMDNativeOps_fallback.h" + + // include the correct native file for this build target CPU +- #if defined(__i386__) || defined(__amd64__) || defined(_M_X64) || defined(_X86_) || defined(_M_IX86) || defined(__riscv) || defined(__EMSCRIPTEN__) ++ #if defined(__i386__) || defined(__amd64__) || defined(_M_X64) || defined(_X86_) || defined(_M_IX86) || defined(__riscv) || defined(__EMSCRIPTEN__) || defined(__powerpc__) + #ifdef __AVX2__ + #include "native/juce_SIMDNativeOps_avx.h" + #else diff --git a/audio/surge-synthesizer-xt-lv2/files/patch-libs_JUCE_modules_juce__graphics_image__formats_juce__PNGLoader.cpp b/audio/surge-synthesizer-xt-lv2/files/patch-libs_JUCE_modules_juce__graphics_image__formats_juce__PNGLoader.cpp new file mode 100644 index 000000000000..0b8230cde00b --- /dev/null +++ b/audio/surge-synthesizer-xt-lv2/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:33:45 UTC ++++ libs/JUCE/modules/juce_graphics/image_formats/juce_PNGLoader.cpp +@@ -266,6 +266,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