git: 3a5cd0b9aa77 - main - polish/napi: Fix building with CMake 4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Sep 2026 18:59:44 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3a5cd0b9aa778414bd94109de24254f9f4648d34
commit 3a5cd0b9aa778414bd94109de24254f9f4648d34
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-23 18:58:13 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-23 18:58:13 +0000
polish/napi: Fix building with CMake 4
Approved by: portmgr (fixit blanket)
---
polish/napi/files/patch-CMakeLists.txt | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/polish/napi/files/patch-CMakeLists.txt b/polish/napi/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..f2275737e93f
--- /dev/null
+++ b/polish/napi/files/patch-CMakeLists.txt
@@ -0,0 +1,8 @@
+--- CMakeLists.txt.orig 2018-06-08 23:34:14 UTC
++++ CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.0)
++cmake_minimum_required(VERSION 3.5)
+ project (napi NONE)
+
+ set(NAPI_VERSION_MAJOR 2)