FreeBSD Bugzilla – Attachment 199952 Details for
Bug 233500
audio/fluidplug-lv2: fails to build with fluidsynth 2.x
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fluidplug-lv2-fluidsynth2.diff
fluidplug-lv2-fluidsynth2.diff (text/plain), 2.01 KB, created by
Tobias Kortkamp
on 2018-12-08 10:53:21 UTC
(
hide
)
Description:
fluidplug-lv2-fluidsynth2.diff
Filename:
MIME Type:
Creator:
Tobias Kortkamp
Created:
2018-12-08 10:53:21 UTC
Size:
2.01 KB
patch
obsolete
>Index: files/patch-source_FluidPlug.c >=================================================================== >--- files/patch-source_FluidPlug.c (nonexistent) >+++ files/patch-source_FluidPlug.c (working copy) >@@ -0,0 +1,49 @@ >+--- source/FluidPlug.c.orig 2018-12-08 10:34:10 UTC >++++ source/FluidPlug.c >+@@ -130,12 +130,20 @@ static LV2_Handle lv2_instantiate(const struct _LV2_De >+ goto cleanup_synth; >+ >+ size_t count; >++#if FLUIDSYNTH_VERSION_MAJOR < 2 >+ fluid_preset_t preset; >+ >+ sfont->iteration_start(sfont); >+ for (count = 0; sfont->iteration_next(sfont, &preset) != 0;) >+ ++count; >++#else >++ fluid_preset_t *preset = NULL; >+ >++ fluid_sfont_iteration_start(sfont); >++ for (count = 0; (preset = fluid_sfont_iteration_next(sfont)) != NULL;) >++ ++count; >++#endif >++ >+ if (count == 0) >+ goto cleanup_synth; >+ >+@@ -144,6 +152,7 @@ static LV2_Handle lv2_instantiate(const struct _LV2_De >+ if (programs == NULL) >+ goto cleanup_synth; >+ >++#if FLUIDSYNTH_VERSION_MAJOR < 2 >+ sfont->iteration_start(sfont); >+ for (count = 0; sfont->iteration_next(sfont, &preset) != 0;) >+ { >+@@ -153,6 +162,17 @@ static LV2_Handle lv2_instantiate(const struct _LV2_De >+ }; >+ programs[count++] = bp; >+ } >++#else >++ fluid_sfont_iteration_start(sfont); >++ for (count = 0; (preset = fluid_sfont_iteration_next(sfont)) != NULL;) >++ { >++ const BankProgram bp = { >++ fluid_preset_get_banknum(preset), >++ fluid_preset_get_num(preset) >++ }; >++ programs[count++] = bp; >++ } >++#endif >+ >+ fluid_synth_program_select(synth, 0, synthId, programs[0].bank, programs[0].prog); >+ > >Property changes on: files/patch-source_FluidPlug.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
tobik
:
maintainer-approval?
(
yuri
)
Actions:
View
|
Diff
Attachments on
bug 233500
: 199952