[Bug 285557] devel/dbus: 1.16.2 dropped version script hack (CONFIGURE_ENV= have_ld_version_script=yes)

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 20 Mar 2025 17:54:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285557

            Bug ID: 285557
           Summary: devel/dbus: 1.16.2 dropped version script hack
                    (CONFIGURE_ENV= have_ld_version_script=yes)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: bugzilla.freebsd@omnilan.de
             Flags: maintainer-feedback?(desktop@FreeBSD.org)
          Assignee: desktop@FreeBSD.org

Created attachment 258840
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=258840&action=edit
Unconditionally build with linker version script support on FreeBSD

https://cgit.freebsd.org/ports/commit/?id=bc4255ece4e3b24b4a874f3e028d4ba6b7841514
was functionality wise reverted/dropped with the update to 1.16.2.

palemoon doesn't run anymore:
XPCOMGlueLoad error for file /usr/local/lib/palemoon/libxul.so:
/usr/local/lib/libdbus-1.so.3: version LIBDBUS_1_3 required by
/usr/local/lib/palemoon/libxul.so not defined
Couldn't load XPCOM.

Please find attached a quick hack.  Until half an hour earlier, I never had
looked into any meson.build - my patch might be a completely wrong approach.
But for me it's restoring have_ld_version_script=yes outcome (i.e. palemoon
runs again on stable/14 and devel/dbus-1.16.2_1,1

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