[Bug 286917] biology/lamarc: unbreak on FreeBSD 14+

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 19 May 2025 00:22:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286917

            Bug ID: 286917
           Summary: biology/lamarc: unbreak on FreeBSD 14+
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: hayzam@alchemilla.io

Created attachment 260525
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=260525&action=edit
Git patch to unbreak biology/lamarc on FreeBSD 14+

Lamarc fails to build on FreeBSD 14+ with Clang 16+ due to use of
std::make_pair with explicit template arguments and lvalues, which
is no longer valid in C++17 and later.

This patch removes the explicit template arguments in several locations
and lets the compiler deduce them correctly, restoring build success.

Also:
- Regenerated patch-src_tools_stringx.h to reflect correct context and line
offsets

Tested on: FreeBSD 14.2-RELEASE-p2 amd64

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