slackbuilds/audio/fabla/fabla-1.3.2-lv2-1.18.0.patch

25 lines
964 B
Diff

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