From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/sdl-jstest/, dev-util/sdl-jstest/files/
Date: Tue, 13 Feb 2024 15:39:16 +0000 (UTC) [thread overview]
Message-ID: <1707838743.4de40759a378b78966bfbfac12427fee9c9eaf01.juippis@gentoo> (raw)
commit: 4de40759a378b78966bfbfac12427fee9c9eaf01
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Sat Jan 27 02:45:40 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> 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 <orbea <AT> riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/35034
Signed-off-by: Joonas Niilola <juippis <AT> 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 <orbea@riseup.net>
+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 <min> value or use a ...<max> 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 <http://www.gnu.org/licenses/>.
+
+-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
)
next reply other threads:[~2024-02-13 15:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-13 15:39 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-08-29 6:10 [gentoo-commits] repo/gentoo:master commit in: dev-util/sdl-jstest/, dev-util/sdl-jstest/files/ Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1707838743.4de40759a378b78966bfbfac12427fee9c9eaf01.juippis@gentoo \
--to=juippis@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox