git: 0ebb77cf5101 - main - devel/nextpnr: Update to 0.8

From: Joel Bodenmann <jbo_at_FreeBSD.org>
Date: Tue, 25 Mar 2025 22:18:18 UTC
The branch main has been updated by jbo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0ebb77cf5101a8770b7055a61b9637f89bebd940

commit 0ebb77cf5101a8770b7055a61b9637f89bebd940
Author:     Joel Bodenmann <jbo@FreeBSD.org>
AuthorDate: 2025-03-25 21:43:53 +0000
Commit:     Joel Bodenmann <jbo@FreeBSD.org>
CommitDate: 2025-03-25 22:17:59 +0000

    devel/nextpnr: Update to 0.8
    
    Changelog: https://github.com/YosysHQ/nextpnr/releases/tag/nextpnr-0.8
---
 devel/nextpnr/Makefile                       |  8 ++------
 devel/nextpnr/distinfo                       | 12 +++++-------
 devel/nextpnr/files/patch-bba_CMakeLists.txt | 13 +++++++++++++
 devel/nextpnr/files/patch-gui_quadtree.h     | 11 -----------
 devel/nextpnr/pkg-descr                      | 11 ++++++++---
 5 files changed, 28 insertions(+), 27 deletions(-)

diff --git a/devel/nextpnr/Makefile b/devel/nextpnr/Makefile
index f0663ba0e805..492a4d387c51 100644
--- a/devel/nextpnr/Makefile
+++ b/devel/nextpnr/Makefile
@@ -1,13 +1,9 @@
 PORTNAME=	nextpnr
 DISTVERSIONPREFIX=	${PORTNAME}-
-DISTVERSION=	0.7
-PORTREVISION=	5
+DISTVERSION=	0.8
 PORTEPOCH=	1
 CATEGORIES=	devel
 
-PATCH_SITES=	https://github.com/YosysHQ/nextpnr/commit/
-PATCHFILES=	f085950383155a745cf2e3c0f28c468d01ff5fd7.patch:-p1
-
 MAINTAINER=	jbo@FreeBSD.org
 COMMENT=	Portable FPGA place and route tool
 WWW=		https://github.com/YosysHQ/nextpnr
@@ -30,7 +26,7 @@ USE_QT=		buildtools:build core gui opengl qmake:build widgets
 USE_GL=		gl glu
 USE_GITHUB=	yes
 GH_ACCOUNT=	YosysHQ
-GH_TUPLE=	YosysHQ:nextpnr-tests:00c55a9e:tests/tests
+GH_TUPLE=	YosysHQ:nextpnr-tests:ce15412:tests/tests
 
 BINARY_ALIAS=	python3=${PYTHON_CMD}
 
diff --git a/devel/nextpnr/distinfo b/devel/nextpnr/distinfo
index 312682654a78..865a0c489ab6 100644
--- a/devel/nextpnr/distinfo
+++ b/devel/nextpnr/distinfo
@@ -1,7 +1,5 @@
-TIMESTAMP = 1728304472
-SHA256 (YosysHQ-nextpnr-nextpnr-0.7_GH0.tar.gz) = bd173cb218c97f66e4afdf7b886d70c8c0893f544a1cf20b50c0182a1d9f2f45
-SIZE (YosysHQ-nextpnr-nextpnr-0.7_GH0.tar.gz) = 4711765
-SHA256 (YosysHQ-nextpnr-tests-00c55a9e_GH0.tar.gz) = 2240aa0c61211a62ca307ef8d8b0f58c4ebb59ecb61334c45bf586daf69d964b
-SIZE (YosysHQ-nextpnr-tests-00c55a9e_GH0.tar.gz) = 1039171
-SHA256 (f085950383155a745cf2e3c0f28c468d01ff5fd7.patch) = 4e93475cc6c09b93b707d64e06779f419eddcc6f705e5f568180795f0915f745
-SIZE (f085950383155a745cf2e3c0f28c468d01ff5fd7.patch) = 1087
+TIMESTAMP = 1742940246
+SHA256 (YosysHQ-nextpnr-nextpnr-0.8_GH0.tar.gz) = 968ce3f39973e1d855c6bf1606a334d9f9650cff978554b822de0a6c088947bd
+SIZE (YosysHQ-nextpnr-nextpnr-0.8_GH0.tar.gz) = 4665005
+SHA256 (YosysHQ-nextpnr-tests-ce15412_GH0.tar.gz) = 84b7e926d97ce1aae3a2b9115b9030fce483a8b6d8b6cde060046a93f24966fe
+SIZE (YosysHQ-nextpnr-tests-ce15412_GH0.tar.gz) = 1032708
diff --git a/devel/nextpnr/files/patch-bba_CMakeLists.txt b/devel/nextpnr/files/patch-bba_CMakeLists.txt
new file mode 100644
index 000000000000..1e9e2cd5abf1
--- /dev/null
+++ b/devel/nextpnr/files/patch-bba_CMakeLists.txt
@@ -0,0 +1,13 @@
+--- bba/CMakeLists.txt.orig	2025-03-25 22:08:07 UTC
++++ bba/CMakeLists.txt
+@@ -9,7 +9,7 @@ target_link_libraries(bbasm LINK_PRIVATE
+ add_executable(bbasm
+     main.cc)
+ target_link_libraries(bbasm LINK_PRIVATE
+-    ${Boost_PROGRAM_OPTIONS_LIBRARY}
+-    ${Boost_FILESYSTEM_LIBRARY}
+-    ${Boost_SYSTEM_LIBRARY})
++	Boost::program_options
++	Boost::filesystem
++	Boost::system)
+ export(TARGETS bbasm FILE ${CMAKE_BINARY_DIR}/bba-export.cmake)
diff --git a/devel/nextpnr/files/patch-gui_quadtree.h b/devel/nextpnr/files/patch-gui_quadtree.h
deleted file mode 100644
index 8884a07a7261..000000000000
--- a/devel/nextpnr/files/patch-gui_quadtree.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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_;
diff --git a/devel/nextpnr/pkg-descr b/devel/nextpnr/pkg-descr
index 496ada349d42..6a7da071ba36 100644
--- a/devel/nextpnr/pkg-descr
+++ b/devel/nextpnr/pkg-descr
@@ -2,7 +2,12 @@ nextpnr aims to be a vendor neutral, timing driven,
 FOSS FPGA place and route tool.
 
 Currently nextpnr supports:
+  - Lattice iCE40 devices supported by Project IceStorm
+  - Lattice ECP5 devices supported by Project Trellis
+  - Lattice Nexus devices supported by Project Oxide
+  - Gowin LittleBee devices supported by Project Apicula
+  - NanoXplore NG-Ultra devices supported by Project Beyond
+  - (experimental) Cyclone V devices supported by Mistral
+  - (experimental) Lattice MachXO2 devices supported by Project Trellis
+  - (experimental) a "generic" back-end for user-defined architectures
 
-Lattice iCE40 devices supported by Project IceStorm
-(experimental) Lattice ECP5 devices supported by Project Trellis
-(experimental) a "generic" back-end for user-defined architectures