git: b079723cf088 - main - graphics/mozjpeg: Fix building with CMake 4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Sep 2026 18:31:15 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b079723cf0886749ddcb6e23c493d62a71f4d8be
commit b079723cf0886749ddcb6e23c493d62a71f4d8be
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-21 18:29:46 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-21 18:29:46 +0000
graphics/mozjpeg: Fix building with CMake 4
Approved by: portmgr (fixit blanket)
---
graphics/mozjpeg/files/patch-CMakeLists.txt | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/graphics/mozjpeg/files/patch-CMakeLists.txt b/graphics/mozjpeg/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..2438f3093519
--- /dev/null
+++ b/graphics/mozjpeg/files/patch-CMakeLists.txt
@@ -0,0 +1,8 @@
+--- CMakeLists.txt.orig 2023-10-12 16:52:31 UTC
++++ CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 2.8.12)
++cmake_minimum_required(VERSION 3.5)
+ # When using CMake 3.4 and later, don't export symbols from executables unless
+ # the CMAKE_ENABLE_EXPORTS variable is set.
+ if(POLICY CMP0065)