| Summary: | audio/gmsynth-lv2: fails to build with fluidsynth 2.x | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> |
| Component: | Individual Port(s) | Assignee: | Yuri Victorovich <yuri> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | Keywords: | needs-patch |
| Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(yuri) |
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
| Bug Depends on: | |||
| Bug Blocks: | 233448 | ||
It seems a trivial update would fix it. https://github.com/x42/gmsynth.lv2/commit/2150e139ff9fa61193be27506ad3e497fdefa76f Remove the FluidSynth dependency. A commit references this bug: Author: yuri Date: Sun Nov 25 18:10:15 UTC 2018 New revision: 485886 URL: https://svnweb.freebsd.org/changeset/ports/485886 Log: audio/gmsynth-lv2: Update 0.3.0 -> 0.3.0-5 Change back to bundled FluidSynth based on the project owner's request. PR: 233499 Changes: head/audio/gmsynth-lv2/Makefile head/audio/gmsynth-lv2/distinfo head/audio/gmsynth-lv2/files/ |
src/gmsynth.c:206:17: error: variable has incomplete type 'fluid_preset_t' (aka 'struct _fluid_preset_t') fluid_preset_t preset; ^ /usr/local/include/fluidsynth/types.h:41:16: note: forward declaration of 'struct _fluid_preset_t' typedef struct _fluid_preset_t fluid_preset_t; /**< SoundFont preset */ ^ src/gmsynth.c:207:7: error: incomplete definition of type 'struct _fluid_sfont_t' sfont->iteration_start (sfont); ~~~~~^ /usr/local/include/fluidsynth/types.h:40:16: note: forward declaration of 'struct _fluid_sfont_t' typedef struct _fluid_sfont_t fluid_sfont_t; /**< SoundFont */ ^ src/gmsynth.c:209:21: error: incomplete definition of type 'struct _fluid_sfont_t' for (chn = 0; sfont->iteration_next (sfont, &preset); ++chn) { ~~~~~^ /usr/local/include/fluidsynth/types.h:40:16: note: forward declaration of 'struct _fluid_sfont_t' typedef struct _fluid_sfont_t fluid_sfont_t; /**< SoundFont */ ^ build log: https://ptpb.pw/yOuk