git: 90c9b021f425 - main - devel/nextpnr: Fix build with llvm19
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 10 Feb 2025 14:42:11 UTC
The branch main has been updated by jbo:
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 | 11 +++++++++++
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/devel/nextpnr/Makefile b/devel/nextpnr/Makefile
index 89d552c19cba..a68d190ec301 100644
--- a/devel/nextpnr/Makefile
+++ b/devel/nextpnr/Makefile
@@ -1,7 +1,7 @@
PORTNAME= nextpnr
DISTVERSIONPREFIX= ${PORTNAME}-
DISTVERSION= 0.7
-PORTREVISION= 3
+PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= devel
diff --git a/devel/nextpnr/files/patch-gui_quadtree.h b/devel/nextpnr/files/patch-gui_quadtree.h
new file mode 100644
index 000000000000..8884a07a7261
--- /dev/null
+++ b/devel/nextpnr/files/patch-gui_quadtree.h
@@ -0,0 +1,11 @@
+--- gui/quadtree.h.orig 2025-02-09 18:01:57 UTC
++++ gui/quadtree.h
+@@ -226,7 +226,7 @@ template <typename CoordinateT, typename ElementT> cla
+ return *this;
+ bound_ = other.bound_;
+ max_elems_ = other.max_elems_;
+- children_ = other.max_children_;
++ //children_ = other.max_children_;
+ children_ = other.children_;
+ splitx_ = other.splitx_;
+ splity_ = other.splity_;