git: 9d983fb4169c - main - textproc/uchardet: Fix building with CMake 4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Sep 2026 15:45:17 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9d983fb4169c2ba9b94103a52a34de1795d93062
commit 9d983fb4169c2ba9b94103a52a34de1795d93062
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-14 15:43:48 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-14 15:44:08 +0000
textproc/uchardet: Fix building with CMake 4
Approved by: portmgr (fixit blanket)
---
textproc/uchardet/files/patch-CMakeLists.txt | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/textproc/uchardet/files/patch-CMakeLists.txt b/textproc/uchardet/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..f4422c0ab7c1
--- /dev/null
+++ b/textproc/uchardet/files/patch-CMakeLists.txt
@@ -0,0 +1,9 @@
+--- CMakeLists.txt.orig 2022-12-08 20:52:25 UTC
++++ CMakeLists.txt
+@@ -1,5 +1,5 @@
+ ######## Project settings
+-cmake_minimum_required(VERSION 3.1)
++cmake_minimum_required(VERSION 3.5)
+ include(CheckCCompilerFlag)
+ set (PACKAGE_NAME uchardet)
+ project (${PACKAGE_NAME} CXX C)