[Bug 293552] audio/spiralsynthmodular: fix "undefined symbol" errors

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 06 Mar 2026 21:04:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293552

--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch 2026Q1 references this bug:

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

commit 94861f14b4187fc691357cc1f7ece432399ad1c7
Author:     Valery <valery@vslash.com>
AuthorDate: 2026-03-06 20:55:38 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-03-06 21:04:34 +0000

    audio/spiralsynthmodular: Fix "undefined symbol" errors at runtime

    * Behavior *
    - At runtime, for each synth plugin, we got:
    dlerror() output:
    /usr/local/lib/SpiralPlugins/AmpPlugin.so: Undefined symbol
"_ZN10SpiralInfo6LOCALEE"

    * Why *
    - It seems this comes from the way newer compiler manage static
      properties. (SSM is 25yo).
    - This error has already been reported long times ago on Linux distro.

    * Fix *
    - A way to fix it without rewriting the wheel is to inline static
      properties in the header.

    While here improve port:
    - Add LICENSE.
    - Register dependiencies.
    - Replace CPPFLAGS and LIBS with USES=localbase.
    - Parametrize version in WRKSRC.
    - Remove unnecessary REINPLACE_CMD in
      SpiralSound/Plugins/LADSPAPlugin/Makefile.in.
    - Merge STRIP_CMD.

    PR:     293552
    MFH:    2026Q1
    (cherry picked from commit 8fedf8cd90ccc775af0f5e2a203f4c94f233bdd1)

 audio/spiralsynthmodular/Makefile                  | 24 ++++----
 .../files/patch-SpiralSound_SpiralInfo.C (new)     | 64 ++++++++++++++++++++
 .../files/patch-SpiralSound_SpiralInfo.h (new)     | 70 ++++++++++++++++++++++
 3 files changed, 146 insertions(+), 12 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.