git: e2c77dcc36f1 - main - graphics/openjpeg15: Fix building with CMake 4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Sep 2026 18:18:59 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e2c77dcc36f149e5a50290098f0b24cbc0e5a740
commit e2c77dcc36f149e5a50290098f0b24cbc0e5a740
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-22 18:17:28 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-22 18:17:28 +0000
graphics/openjpeg15: Fix building with CMake 4
Approved by: portmgr (fixit blanket)
---
graphics/openjpeg15/files/patch-CMakeLists.txt | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/graphics/openjpeg15/files/patch-CMakeLists.txt b/graphics/openjpeg15/files/patch-CMakeLists.txt
index a0e0dba42fe2..45992e6ec7f7 100644
--- a/graphics/openjpeg15/files/patch-CMakeLists.txt
+++ b/graphics/openjpeg15/files/patch-CMakeLists.txt
@@ -1,5 +1,14 @@
--- CMakeLists.txt.orig 2014-03-28 08:20:25 UTC
+++ CMakeLists.txt
+@@ -7,7 +7,7 @@
+ # For this purpose you can define a CMake var: OPENJPEG_NAMESPACE to whatever you like
+ # e.g.:
+ # SET(OPENJPEG_NAMESPACE "GDCMOPENJPEG")
+-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
++CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
+
+ IF(COMMAND CMAKE_POLICY)
+ CMAKE_POLICY(SET CMP0003 NEW)
@@ -54,7 +54,7 @@ SET(OPENJPEG_LIBRARY_PROPERTIES
endif(NOT OPENJPEG_SOVERSION)
SET(OPENJPEG_LIBRARY_PROPERTIES