git: 5ba9462574e6 - main - net-im/uTox: Fix building with CMake 4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Oct 2026 18:57:28 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5ba9462574e63fa57d580a012ad6a926eba5676c
commit 5ba9462574e63fa57d580a012ad6a926eba5676c
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-10-09 18:10:42 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-10-09 18:57:17 +0000
net-im/uTox: Fix building with CMake 4
Approved by: portmgr (fixit blanket)
---
net-im/uTox/files/patch-CMakeLists.txt | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/net-im/uTox/files/patch-CMakeLists.txt b/net-im/uTox/files/patch-CMakeLists.txt
index 25ad44176d37..f1a17a3fb866 100644
--- a/net-im/uTox/files/patch-CMakeLists.txt
+++ b/net-im/uTox/files/patch-CMakeLists.txt
@@ -1,6 +1,12 @@
---- CMakeLists.txt.orig 2019-09-21 02:09:21 UTC
+--- CMakeLists.txt.orig 2021-01-23 17:27:42 UTC
+++ CMakeLists.txt
-@@ -178,8 +178,7 @@ add_cflag("-fPIC")
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.2)
++cmake_minimum_required(VERSION 3.5)
+ project(uTox LANGUAGES C)
+
+ #####################
+@@ -180,8 +180,7 @@ if(CMAKE_C_COMPILER_ID MATCHES "GNU")
# Fix GNU stack
if(CMAKE_C_COMPILER_ID MATCHES "GNU")
# Have ld strip the symbols from Release and MinSizeRel build types.
@@ -10,7 +16,7 @@
if(LINUX)
# enable Link Time Optimization on gcc (linux only currently)
-@@ -214,8 +213,7 @@ elseif(CMAKE_C_COMPILER_ID MATCHES "Clang")
+@@ -216,8 +215,7 @@ elseif(CMAKE_C_COMPILER_ID MATCHES "Clang")
endif()
# Have ld strip the symbols from Release and MinSizeRel build types. (-Oz is clang specific)