about summary refs log tree commit diff
path: root/pkgs/applications/audio/eq10q
diff options
context:
space:
mode:
authorBart Brouns <bart@magnetophon.nl>2020-06-05 21:13:42 +0200
committerBart Brouns <bart@magnetophon.nl>2020-06-09 00:40:45 +0200
commit28a142050d1d3c879e7b1caac285b46417b2fcfb (patch)
treeda2293516e8b2c29602ed0714e4271eb4ade63c6 /pkgs/applications/audio/eq10q
parentca39097da8feaa62f89a8eb04be92d141ee07ec9 (diff)
eq10q: work around breaking change in lv2 1.18.0
Diffstat (limited to 'pkgs/applications/audio/eq10q')
-rw-r--r--pkgs/applications/audio/eq10q/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/audio/eq10q/default.nix b/pkgs/applications/audio/eq10q/default.nix
index cc3a3c9ac1f56..c614b96f6385c 100644
--- a/pkgs/applications/audio/eq10q/default.nix
+++ b/pkgs/applications/audio/eq10q/default.nix
@@ -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 = ''