diff --git a/SDL/sdl12-compat-cmake-version.patch b/SDL/sdl12-compat-cmake-version.patch new file mode 100644 index 00000000..b7368be5 --- /dev/null +++ b/SDL/sdl12-compat-cmake-version.patch @@ -0,0 +1,12 @@ +diff -ruN a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt 2023-09-26 19:43:48.000000000 +0200 ++++ b/CMakeLists.txt 2025-09-03 17:35:15.362613583 +0200 +@@ -2,7 +2,7 @@ + # you can define SDL2_INCLUDE_DIR on the cmdline. For example: + # cmake -DSDL2_INCLUDE_DIR=/opt/SDL2/include/SDL2 [other stuff] + +-cmake_minimum_required(VERSION 3.0.0...3.5) ++cmake_minimum_required(VERSION 3.0.0...4.0) + project(sdl12_compat + VERSION 1.2.68 + LANGUAGES C) diff --git a/SDL/sdl12-compat.json b/SDL/sdl12-compat.json index a3da3121..294e2aa1 100644 --- a/SDL/sdl12-compat.json +++ b/SDL/sdl12-compat.json @@ -9,6 +9,10 @@ "type": "archive", "url": "https://github.com/libsdl-org/sdl12-compat/archive/refs/tags/release-1.2.68.tar.gz", "sha256": "63c6e4dcc1154299e6f363c872900be7f3dcb3e42b9f8f57e05442ec3d89d02d" + }, + { + "type": "patch", + "path": "sdl12-compat-cmake-version.patch" } ], "modules": [