Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Dec 2024 20:51:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 283287] devel/sol2: Fix compilation for clang 19.1
Message-ID:  <bug-283287-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283287

            Bug ID: 283287
           Summary: devel/sol2: Fix compilation for clang 19.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: freebsd@mosedal.net
             Flags: maintainer-feedback?(yuri@freebsd.org)
          Assignee: yuri@freebsd.org

Created attachment 255815
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D255815&action=
=3Dedit
Patch fixing downstream consumers if the source system use Clang 19.1 or ab=
ove

Hi,
While trying to unbundle a previous version of sol2 from www/osrm-backend, I
tried building with the version from ports using a system running FreeBSD
15-CURRENT.
The compiler is Clang 19.1 and when it tries to use the header-only library=
, it
fails.

Attached is a patch that:
* Adds an extra patch if the clang compiler version is 19.1 or above
* Bumps PORTREVISION just to be on the safe side.

In case my patch is garbled, the patch applies cleanly to our current alpha
version from Ports. The original upstream patch is available here:
https://github.com/ThePhD/sol2/commit/d805d027e0a0a7222e936926139f06e23828c=
e9f

All the best,

Peter.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-283287-7788>