fix(main/transmission): fix builds with cmake 4.x

This commit is contained in:
termux-pacman-bot
2025-07-06 20:39:09 +00:00
parent e843930ec6
commit c085cea2d0
2 changed files with 9 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ TERMUX_PKG_LICENSE="GPL-2.0, GPL-3.0"
TERMUX_PKG_LICENSE_FILE="COPYING, licenses/gpl-2.0.txt, licenses/gpl-3.0.txt"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="4.0.6"
TERMUX_PKG_REVISION=3
TERMUX_PKG_REVISION=4
TERMUX_PKG_SRCURL=git+https://github.com/transmission/transmission
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_UPDATE_TAG_TYPE="latest-release-tag"

View File

@@ -0,0 +1,8 @@
--- ./third-party/dht/CMakeLists.txt.orig 2025-06-11 01:22:07.759393284 +0000
+++ ./third-party/dht/CMakeLists.txt 2025-06-11 01:22:21.415684398 +0000
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 3.15)
project(dht C)
add_library(${PROJECT_NAME} STATIC