Skip to content

Commit 015258f

Browse files
committed
1 parent 6157b62 commit 015258f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

pkgs/development/libraries/physfs/default.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ let
2525
(./. + "/dont-set-cmake-skip-rpath-${version}.patch")
2626
];
2727

28+
# https://github.com/icculus/physfs/commit/f7d24ce8486d9229207cca1ff98858fe60ffe583
29+
# but the patch wouldn't apply to physfs_2, so let's do a fuzzy sed.
30+
postPatch = ''
31+
sed '/^cmake_minimum_required/Is/VERSION [0-9]\.[0-9]/VERSION 3.5/' \
32+
-i CMakeLists.txt
33+
'';
34+
2835
nativeBuildInputs = [
2936
cmake
3037
doxygen

0 commit comments

Comments
 (0)