eq10q: work around breaking change in lv2 1.18.0

This commit is contained in:
Bart Brouns 2020-06-05 21:13:42 +02:00
parent ca39097da8
commit 28a142050d

View File

@ -19,6 +19,12 @@ stdenv.mkDerivation rec {
})
];
postPatch = ''
# Fix build with lv2 1.18: https://sourceforge.net/p/eq10q/bugs/23/
find . -type f -exec fgrep -q LV2UI_Descriptor {} \; \
-exec sed -i {} -e 's/const _\?LV2UI_Descriptor/const LV2UI_Descriptor/' \;
'';
installFlags = [ "DESTDIR=$(out)" ];
fixupPhase = ''