fabla-1.3.2-lv2-1.18.0.patch 964 B

12345678910111213141516171819202122232425
  1. From 6d692c374178ae7efd373ca309bfa4a3dcc86156 Mon Sep 17 00:00:00 2001
  2. From: David Runge <dave@sleepmap.de>
  3. Date: Thu, 21 May 2020 15:29:43 +0200
  4. Subject: [PATCH] Fix for building with lv2 >= 1.18.0
  5. The update to lv2 1.18.0 dropped _LV2UI_Descriptor in favor of
  6. LV2UI_Descriptor.
  7. ---
  8. gui/fabla_ui.cxx | 2 +-
  9. 1 file changed, 1 insertion(+), 1 deletion(-)
  10. diff --git a/gui/fabla_ui.cxx b/gui/fabla_ui.cxx
  11. index a722d98..2e721f3 100644
  12. --- a/gui/fabla_ui.cxx
  13. +++ b/gui/fabla_ui.cxx
  14. @@ -52,7 +52,7 @@ extern void initForge(Fabla*);
  15. extern void writeUpdateUiPaths(Fabla*);
  16. extern void writeLoadSample(Fabla* self, int pad, const char* filename, size_t filename_len);
  17. -static LV2UI_Handle instantiate(const struct _LV2UI_Descriptor * descriptor,
  18. +static LV2UI_Handle instantiate(const struct LV2UI_Descriptor * descriptor,
  19. const char * plugin_uri,
  20. const char * bundle_path,
  21. LV2UI_Write_Function write_function,