sony-headphones-client: fix build with cmake4 (#453972)

This commit is contained in:
Felix Bühler
2025-10-20 20:59:35 +00:00
committed by GitHub
@@ -56,6 +56,9 @@ stdenv.mkDerivation rec {
postPatch = ''
substituteInPlace Constants.h \
--replace "UNKNOWN = -1" "// UNKNOWN removed since it doesn't fit in char"
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 3.1 FATAL_ERROR)" "cmake_minimum_required(VERSION 3.10)"
'';
installPhase = ''