git: 61d2a0a94c75 - main - audio/lmms: patch lmms after libcarla upgrade
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 24 Apr 2022 19:54:51 UTC
The branch main has been updated by rodrigo: URL: https://cgit.FreeBSD.org/ports/commit/?id=61d2a0a94c75e53c5e30141dce3a46d148df9ba4 commit 61d2a0a94c75e53c5e30141dce3a46d148df9ba4 Author: Rodrigo Osorio <rodrigo@FreeBSD.org> AuthorDate: 2022-04-24 10:09:04 +0000 Commit: Rodrigo Osorio <rodrigo@FreeBSD.org> CommitDate: 2022-04-24 19:45:44 +0000 audio/lmms: patch lmms after libcarla upgrade LibCarla 2.4.3 replace CARLA_EXPORT macro with separate API / PLUGIN export options. This breaks lmms build. Add a patch to lmms carla plugin to fix the build. PR: 263502 Reported by: Robert Cina <transitive@gmail.com> --- audio/lmms/Makefile | 2 +- audio/lmms/files/patch-plugins_carlabase_carla.h | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/audio/lmms/Makefile b/audio/lmms/Makefile index 8ba7c4a503ca..8aa7c3b73f57 100644 --- a/audio/lmms/Makefile +++ b/audio/lmms/Makefile @@ -3,7 +3,7 @@ PORTNAME= lmms DISTVERSIONPREFIX= v DISTVERSION= 1.2.2 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 2 CATEGORIES= audio diff --git a/audio/lmms/files/patch-plugins_carlabase_carla.h b/audio/lmms/files/patch-plugins_carlabase_carla.h new file mode 100644 index 000000000000..567a2415563b --- /dev/null +++ b/audio/lmms/files/patch-plugins_carlabase_carla.h @@ -0,0 +1,15 @@ +--- plugins/carlabase/carla.h.orig 2022-04-24 08:49:10 UTC ++++ plugins/carlabase/carla.h +@@ -34,10 +34,10 @@ + #include "CarlaBackend.h" + #include "CarlaNative.h" + #include "CarlaUtils.h" +- CARLA_EXPORT ++ CARLA_PLUGIN_EXPORT + const NativePluginDescriptor* carla_get_native_patchbay_plugin(); + +- CARLA_EXPORT ++ CARLA_PLUGIN_EXPORT + const NativePluginDescriptor* carla_get_native_rack_plugin(); + #endif +