Created attachment 257358 [details] patch This patch fixes the currently failing build with llvm19. The fix/change has been implemented by upstream here [1]. However, as it's not a standalone commit we cannot simply pull in the upstream patch. Fedora runs with the same patch [2]. Testport now succeeds with both 14-STABLE (llvm19) and 14.2-RELEASE (llvm18). [1] https://github.com/YosysHQ/nextpnr/commit/cd7f7c12f13ecaf1ec4019cdcc56bddfb4f0677f#diff-47db8bd1e64977b6214087b5e0edb99d30f96e4e72298c79fe4bd2b8416fa8a4 [2] https://src.fedoraproject.org/rpms/nextpnr/blob/rawhide/f/0002-fedora-fix-compile-error-in-gui-quadtree.h.patch
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=90c9b021f4252509bd038ef55d51dd78a98dbc5c commit 90c9b021f4252509bd038ef55d51dd78a98dbc5c Author: Joel Bodenmann <jbo@FreeBSD.org> AuthorDate: 2025-02-09 18:10:21 +0000 Commit: Joel Bodenmann <jbo@FreeBSD.org> CommitDate: 2025-02-10 14:41:52 +0000 devel/nextpnr: Fix build with llvm19 This fix/change was already implemented by upstream in cd7f7c12f13ecaf1ec4019cdcc56bddfb4f0677f. However, as it's not a standalone commit, we cannot pull in the upstream patch. PR: 284688 Approved by: manu (maintainer) devel/nextpnr/Makefile | 2 +- devel/nextpnr/files/patch-gui_quadtree.h (new) | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-)