sorcer: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-10-20 16:43:28 -03:00
parent fac5e90ad9
commit 4faba5fe3c
+3
View File
@@ -38,6 +38,9 @@ stdenv.mkDerivation rec {
# Fix build with lv2 1.18: https://github.com/brummer10/guitarix/commit/c0334c72
find . -type f -exec fgrep -q LV2UI_Descriptor {} \; \
-exec sed -i {} -e 's/const struct _\?LV2UI_Descriptor/const LV2UI_Descriptor/' \;
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required (VERSION 2.6)" "cmake_minimum_required(VERSION 3.10)"
'';
installPhase = ''