[Bug 274697] editors/libreoffice: fix build with lld 17

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 24 Oct 2023 16:25:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274697

            Bug ID: 274697
           Summary: editors/libreoffice: fix build with lld 17
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: office@FreeBSD.org
          Reporter: dim@FreeBSD.org
          Assignee: office@FreeBSD.org
             Flags: maintainer-feedback?(office@FreeBSD.org)

Building editors/libreoffice with lld 17 results in the following link
errors:

  ld: error: version script assignment of 'PRIVATE_1.4' to symbol
'_ZN3sal13backtrace_getEm' failed: symbol not defined
  ld: error: version script assignment of 'GLIBCXX_3.4' to symbol
'_ZNSs4_Rep20_S_empty_rep_storageE' failed: symbol not defined

Upstream fixed this only for Linux with:
https://github.com/LibreOffice/core/commit/baddc742c3fe260d20d7924ab134f0fbf179fd85

Add the same block to the more generic unxgcc.mk makefile, so it gets
picked up for FreeBSD too.

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