git: 51d8c5108576 - main - www/tidy-html5: Fix building with CMake 4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Oct 2026 13:39:56 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=51d8c510857675aca2986b0a3883c03d4a32a3d7
commit 51d8c510857675aca2986b0a3883c03d4a32a3d7
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-10-09 13:39:30 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-10-09 13:39:30 +0000
www/tidy-html5: Fix building with CMake 4
Approved by: portmgr (fixit blanket)
---
www/tidy-html5/files/patch-CMakeLists.txt | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/www/tidy-html5/files/patch-CMakeLists.txt b/www/tidy-html5/files/patch-CMakeLists.txt
index 711ff088cc50..9d9a339c4382 100644
--- a/www/tidy-html5/files/patch-CMakeLists.txt
+++ b/www/tidy-html5/files/patch-CMakeLists.txt
@@ -1,6 +1,15 @@
---- CMakeLists.txt.orig 2017-11-25 13:54:41 UTC
+--- CMakeLists.txt.orig 2021-07-16 23:45:24 UTC
+++ CMakeLists.txt
-@@ -102,7 +102,7 @@ option( TIDY_COMPAT_HEADERS "Set ON to include compati
+@@ -17,7 +17,7 @@
+ # @date Consult git log.
+ ##############################################################################
+
+-cmake_minimum_required (VERSION 2.8.12)
++cmake_minimum_required (VERSION 3.5)
+
+ set(LIB_NAME tidy)
+ set(LIBTIDY_DESCRIPTION "${LIB_NAME} - HTML syntax checker")
+@@ -118,7 +118,7 @@ if (NOT MAN_INSTALL_DIR)
# Allow building with non-default man page directory.
#------------------------------------------------------------------------
if (NOT MAN_INSTALL_DIR)