fabla: Fix build with lv2 >= 1.1.18

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2020-05-21 22:29:03 +02:00
parent 4a2da3d763
commit 2ae1374e91
2 changed files with 30 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ DEPENDS = " \
SRC_URI = " \
git://github.com/openAVproductions/openAV-Fabla.git \
file://0001-Do-not-overwrite-build-flags-it-causes-trouble-for-m.patch \
file://0002-Fix-for-building-with-lv2-1.18.0.patch \
"
SRCREV = "05bb8d4704a601e660dcd146caf5899d4a4cc5cc"
S = "${WORKDIR}/git"

View File

@@ -0,0 +1,29 @@
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.
Upstream-Status: Submitted [https://github.com/openAVproductions/openAV-Fabla/pull/57]
---
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,
--
2.21.1