freepv: fix build with cmake4

This commit is contained in:
Sigmanificient
2025-12-31 17:11:27 +01:00
parent cbf2ace001
commit b747ff1862
+3
View File
@@ -37,6 +37,9 @@ stdenv.mkDerivation rec {
];
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 2.4.0)" "cmake_minimum_required(VERSION 3.10)"
sed -i -e '/GECKO/d' CMakeLists.txt
sed -i -e '/mozilla/d' src/CMakeLists.txt
sed -i -e '1i \