Date: Sun, 19 Feb 2023 18:42:31 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: e65d3eeb6a49 - main - audio/yoshimi: Fix bug when yoshimi asserted because it defaulted to ALSA Message-ID: <202302191842.31JIgV5v008381@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=e65d3eeb6a497f9af9aff37eda0ee050e70dd5c6 commit e65d3eeb6a497f9af9aff37eda0ee050e70dd5c6 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-02-19 18:33:35 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-02-19 18:42:28 +0000 audio/yoshimi: Fix bug when yoshimi asserted because it defaulted to ALSA ... which it isn't linked with. PR: 269673 Reported by: Luc <lucmove@gmail.com> --- audio/yoshimi/Makefile | 3 +++ audio/yoshimi/files/patch-src_globals.h | 15 +++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/audio/yoshimi/Makefile b/audio/yoshimi/Makefile index e7042f0d9b58..50de08285173 100644 --- a/audio/yoshimi/Makefile +++ b/audio/yoshimi/Makefile @@ -1,5 +1,6 @@ PORTNAME= yoshimi DISTVERSION= 2.2.2.1 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/${DISTVERSION:R:R} @@ -30,4 +31,6 @@ PORTDOCS= * OPTIONS_DEFINE= DOCS +# ALSA can also be enabled, but its build fails, see https://github.com/Yoshimi/yoshimi/issues/175 + .include <bsd.port.mk> diff --git a/audio/yoshimi/files/patch-src_globals.h b/audio/yoshimi/files/patch-src_globals.h new file mode 100644 index 000000000000..272ba8a39937 --- /dev/null +++ b/audio/yoshimi/files/patch-src_globals.h @@ -0,0 +1,15 @@ +- workaround for https://github.com/Yoshimi/yoshimi/issues/174 + +--- src/globals.h.orig 2023-02-19 18:22:47 UTC ++++ src/globals.h +@@ -126,8 +126,8 @@ typedef unsigned int uint; + #define DEFAULT_NAME "Simple Sound" + #define UNTITLED "No Title" + +-#define DEFAULT_AUDIO alsa_audio +-#define DEFAULT_MIDI alsa_midi ++#define DEFAULT_AUDIO jack_audio ++#define DEFAULT_MIDI jack_midi + + #define FORCED_EXIT 16 +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302191842.31JIgV5v008381>