From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D380315808B for ; Tue, 13 Feb 2024 15:39:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC122E29D6; Tue, 13 Feb 2024 15:39:20 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BE13EE29D6 for ; Tue, 13 Feb 2024 15:39:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D1FD9342FA3 for ; Tue, 13 Feb 2024 15:39:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD6C6CB1 for ; Tue, 13 Feb 2024 15:39:16 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1707838743.4de40759a378b78966bfbfac12427fee9c9eaf01.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/sdl-jstest/, dev-util/sdl-jstest/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/sdl-jstest/files/sdl-jstest-0.2.2-cmake-3.5.patch dev-util/sdl-jstest/sdl-jstest-0.2.2.ebuild X-VCS-Directories: dev-util/sdl-jstest/ dev-util/sdl-jstest/files/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 4de40759a378b78966bfbfac12427fee9c9eaf01 X-VCS-Branch: master Date: Tue, 13 Feb 2024 15:39:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 378a0a1c-ef4f-4a17-97c4-513d553820f9 X-Archives-Hash: 7aac3f5c18651d06f67e4e485e60dadf commit: 4de40759a378b78966bfbfac12427fee9c9eaf01 Author: orbea riseup net> AuthorDate: Sat Jan 27 02:45:40 2024 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Tue Feb 13 15:39:03 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4de40759 dev-util/sdl-jstest: fix cmake deprecation warning Upstream-PR: https://github.com/Grumbel/sdl-jstest/pull/19 Upstream-Commit: https://github.com/Grumbel/sdl-jstest/commit/ae5dc5619fc1d6a26591b1e98edb81905eb891ed Signed-off-by: orbea riseup.net> Closes: https://github.com/gentoo/gentoo/pull/35034 Signed-off-by: Joonas Niilola gentoo.org> .../files/sdl-jstest-0.2.2-cmake-3.5.patch | 33 ++++++++++++++++++++++ dev-util/sdl-jstest/sdl-jstest-0.2.2.ebuild | 1 + 2 files changed, 34 insertions(+) diff --git a/dev-util/sdl-jstest/files/sdl-jstest-0.2.2-cmake-3.5.patch b/dev-util/sdl-jstest/files/sdl-jstest-0.2.2-cmake-3.5.patch new file mode 100644 index 000000000000..44c634eeda6d --- /dev/null +++ b/dev-util/sdl-jstest/files/sdl-jstest-0.2.2-cmake-3.5.patch @@ -0,0 +1,33 @@ +https://github.com/Grumbel/sdl-jstest/pull/19 +https://github.com/Grumbel/sdl-jstest/commit/ae5dc5619fc1d6a26591b1e98edb81905eb891ed + +From e54d4391eb60707079ea4695394f3f83d16e2257 Mon Sep 17 00:00:00 2001 +From: orbea +Date: Fri, 12 Jan 2024 18:20:38 -0800 +Subject: [PATCH] build: require cmake >= 3.5 + +With cmake-3.27.9: + +CMake Deprecation Warning at CMakeLists.txt:17 (cmake_minimum_required): + Compatibility with CMake < 3.5 will be removed from a future version of + CMake. + + Update the VERSION argument value or use a ... suffix to tell + CMake that the project does not need compatibility with older versions. +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 4969b63..268ac44 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -14,7 +14,7 @@ + # You should have received a copy of the GNU General Public License + # along with this program. If not, see . + +-cmake_minimum_required(VERSION 3.0) ++cmake_minimum_required(VERSION 3.5) + project(sdl-jstest) + + set(TINYCMMC_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/external/tinycmmc/modules/") diff --git a/dev-util/sdl-jstest/sdl-jstest-0.2.2.ebuild b/dev-util/sdl-jstest/sdl-jstest-0.2.2.ebuild index 7c01902bc632..27790aa97031 100644 --- a/dev-util/sdl-jstest/sdl-jstest-0.2.2.ebuild +++ b/dev-util/sdl-jstest/sdl-jstest-0.2.2.ebuild @@ -41,6 +41,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${P}-appstream-util-nonet.patch + "${FILESDIR}"/${P}-cmake-3.5.patch "${FILESDIR}"/${P}-sdl1.patch )