diff --git a/package/physfs/0001-cmake-bump-minimum-CMake-version-to-3.5.patch b/package/physfs/0001-cmake-bump-minimum-CMake-version-to-3.5.patch new file mode 100644 index 0000000000..49db2061c5 --- /dev/null +++ b/package/physfs/0001-cmake-bump-minimum-CMake-version-to-3.5.patch @@ -0,0 +1,27 @@ +From f7d24ce8486d9229207cca1ff98858fe60ffe583 Mon Sep 17 00:00:00 2001 +From: Anonymous Maarten +Date: Thu, 27 Apr 2023 22:39:41 +0200 +Subject: [PATCH] cmake: bump minimum CMake version to 3.5 in anticipation of + CMake 3.27 + +Upstream: https://github.com/icculus/physfs/commit/f7d24ce8486d9229207cca1ff98858fe60ffe583 + +Signed-off-by: Bernd Kuhls +[rebased for 3.2.0] +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index dfe127a7..1194449e 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -11,7 +11,7 @@ + + set(PHYSFS_VERSION 3.2.0) + +-cmake_minimum_required(VERSION 3.0) ++cmake_minimum_required(VERSION 3.5) + + project(PhysicsFS VERSION ${PHYSFS_VERSION} LANGUAGES C ) + diff --git a/package/physfs/physfs.hash b/package/physfs/physfs.hash index a56e7dccef..f2eea58453 100644 --- a/package/physfs/physfs.hash +++ b/package/physfs/physfs.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 304df76206d633df5360e738b138c94e82ccf086e50ba84f456d3f8432f9f863 physfs-3.0.2.tar.bz2 -sha256 d80c0b09a1c98c61667ea044eefa2fd98fb70bd5fe12c49ff52b1fc2289a6583 LICENSE.txt +sha256 1991500eaeb8d5325e3a8361847ff3bf8e03ec89252b7915e1f25b3f8ab5d560 physfs-3.2.0.tar.gz +sha256 111b286674ab4720fd1b693ef8628a94bca8f06484d5fe3d75bd6db22fdc1cb2 LICENSE.txt diff --git a/package/physfs/physfs.mk b/package/physfs/physfs.mk index 9a3bd441a9..bfcb578521 100644 --- a/package/physfs/physfs.mk +++ b/package/physfs/physfs.mk @@ -4,9 +4,8 @@ # ################################################################################ -PHYSFS_VERSION = 3.0.2 -PHYSFS_SOURCE = physfs-$(PHYSFS_VERSION).tar.bz2 -PHYSFS_SITE = https://icculus.org/physfs/downloads +PHYSFS_VERSION = 3.2.0 +PHYSFS_SITE = $(call github,icculus,physfs,release-$(PHYSFS_VERSION)) PHYSFS_LICENSE = Zlib PHYSFS_LICENSE_FILES = LICENSE.txt