git: 37732cd0c4f2 - main - textproc/xlsxio: Fix building with CMake 4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 11 Oct 2026 10:52:10 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=37732cd0c4f2c2ef1f8c3f29166fe077d445dd44
commit 37732cd0c4f2c2ef1f8c3f29166fe077d445dd44
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-10-11 10:51:41 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-10-11 10:52:00 +0000
textproc/xlsxio: Fix building with CMake 4
Approved by: portmgr (fixit blanket)
---
textproc/xlsxio/files/patch-CMakeLists.txt | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/textproc/xlsxio/files/patch-CMakeLists.txt b/textproc/xlsxio/files/patch-CMakeLists.txt
index 14de994e08c6..7c8f10a9791a 100644
--- a/textproc/xlsxio/files/patch-CMakeLists.txt
+++ b/textproc/xlsxio/files/patch-CMakeLists.txt
@@ -1,5 +1,11 @@
---- CMakeLists.txt.orig 2023-08-03 09:33:03 UTC
+--- CMakeLists.txt.orig 2024-05-25 15:24:48 UTC
+++ CMakeLists.txt
+@@ -1,4 +1,4 @@
+-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
++CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
+
+ PROJECT(xlsxio DESCRIPTION "C libraries for reading and writing .xlsx files")
+
@@ -275,7 +275,7 @@ MACRO(generate_and_install_config_files _NAME _DESC _L
STRING(REGEX REPLACE "\([^ ]*\)[/\\]lib([^ /\\.]*).[^ ]*" "-L\\1 -l\\2" XLSXIO_LDFLAGS "${XLSXIO_LDFLAGS}")
CONFIGURE_FILE(templateConfig.cmake.in "${CMAKE_CURRENT_BINARY_DIR}/${XLSXIO_NAME}Config.cmake" @ONLY)