From 2ae1374e912f46b32e2b56a01fe6419f96e94cdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Thu, 21 May 2020 22:29:03 +0200 Subject: [PATCH] fabla: Fix build with lv2 >= 1.1.18 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- .../openav/{fabla_git.bb => fabla.bb} | 1 + ...002-Fix-for-building-with-lv2-1.18.0.patch | 29 +++++++++++++++++++ 2 files changed, 30 insertions(+) rename recipes-musicians/openav/{fabla_git.bb => fabla.bb} (91%) create mode 100644 recipes-musicians/openav/fabla/0002-Fix-for-building-with-lv2-1.18.0.patch diff --git a/recipes-musicians/openav/fabla_git.bb b/recipes-musicians/openav/fabla.bb similarity index 91% rename from recipes-musicians/openav/fabla_git.bb rename to recipes-musicians/openav/fabla.bb index f66825d..96d7ebd 100644 --- a/recipes-musicians/openav/fabla_git.bb +++ b/recipes-musicians/openav/fabla.bb @@ -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" diff --git a/recipes-musicians/openav/fabla/0002-Fix-for-building-with-lv2-1.18.0.patch b/recipes-musicians/openav/fabla/0002-Fix-for-building-with-lv2-1.18.0.patch new file mode 100644 index 0000000..374defa --- /dev/null +++ b/recipes-musicians/openav/fabla/0002-Fix-for-building-with-lv2-1.18.0.patch @@ -0,0 +1,29 @@ +From 6d692c374178ae7efd373ca309bfa4a3dcc86156 Mon Sep 17 00:00:00 2001 +From: David Runge +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 +