diff --git a/audio/alsa-plugins/files/patch-jack_pcm__jack.c b/audio/alsa-plugins/files/patch-jack_pcm__jack.c new file mode 100644 index 000000000000..12ad92846719 --- /dev/null +++ b/audio/alsa-plugins/files/patch-jack_pcm__jack.c @@ -0,0 +1,11 @@ +--- jack/pcm_jack.c.orig 2023-11-03 22:31:39 UTC ++++ jack/pcm_jack.c +@@ -603,7 +603,7 @@ static int snd_pcm_jack_open(snd_pcm_t **pcmp, const c + } + + if (client_name == NULL) { +- const char *pname = program_invocation_short_name; ++ const char *pname = getprogname(); + if (!pname[0]) { + pname = "alsa-jack"; + } diff --git a/audio/alsa-plugins/pkg-plist b/audio/alsa-plugins/pkg-plist index d93a5bad2821..1428c962f8aa 100644 --- a/audio/alsa-plugins/pkg-plist +++ b/audio/alsa-plugins/pkg-plist @@ -1,61 +1,63 @@ %%FFMPEG%%etc/alsa/conf.d/10-rate-lav.conf %%SAMPLERATE%%etc/alsa/conf.d/10-samplerate.conf +%%JACK%%etc/alsa/conf.d/50-jack.conf %%FFMPEG%%etc/alsa/conf.d/60-a52-encoder.conf @comment etc/alsa/conf.d/50-arcam-av-ctl.conf @comment etc/alsa/conf.d/50-oss.conf @comment etc/alsa/conf.d/50-pulseaudio.conf %%SPEEX%%etc/alsa/conf.d/60-speex.conf @comment etc/alsa/conf.d/60-upmix.conf @comment etc/alsa/conf.d/60-vdownmix.conf @comment etc/alsa/conf.d/98-usb-stream.conf @comment etc/alsa/conf.d/99-pulseaudio-default.conf.example %%PULSEAUDIO%%lib/alsa-lib/libasound_module_conf_pulse.la %%PULSEAUDIO%%lib/alsa-lib/libasound_module_conf_pulse.so lib/alsa-lib/libasound_module_ctl_arcam_av.la lib/alsa-lib/libasound_module_ctl_arcam_av.so lib/alsa-lib/libasound_module_ctl_oss.la lib/alsa-lib/libasound_module_ctl_oss.so %%PULSEAUDIO%%lib/alsa-lib/libasound_module_ctl_pulse.la %%PULSEAUDIO%%lib/alsa-lib/libasound_module_ctl_pulse.so %%FFMPEG%%lib/alsa-lib/libasound_module_pcm_a52.la %%FFMPEG%%lib/alsa-lib/libasound_module_pcm_a52.so %%JACK%%lib/alsa-lib/libasound_module_pcm_jack.la %%JACK%%lib/alsa-lib/libasound_module_pcm_jack.so lib/alsa-lib/libasound_module_pcm_oss.la lib/alsa-lib/libasound_module_pcm_oss.so %%PULSEAUDIO%%lib/alsa-lib/libasound_module_pcm_pulse.la %%PULSEAUDIO%%lib/alsa-lib/libasound_module_pcm_pulse.so %%SPEEX%%lib/alsa-lib/libasound_module_pcm_speex.la %%SPEEX%%lib/alsa-lib/libasound_module_pcm_speex.so lib/alsa-lib/libasound_module_pcm_upmix.la lib/alsa-lib/libasound_module_pcm_upmix.so lib/alsa-lib/libasound_module_pcm_usb_stream.la lib/alsa-lib/libasound_module_pcm_usb_stream.so lib/alsa-lib/libasound_module_pcm_vdownmix.la lib/alsa-lib/libasound_module_pcm_vdownmix.so %%FFMPEG%%lib/alsa-lib/libasound_module_rate_lavrate.la %%FFMPEG%%lib/alsa-lib/libasound_module_rate_lavrate.so %%FFMPEG%%lib/alsa-lib/libasound_module_rate_lavrate_fast.so %%FFMPEG%%lib/alsa-lib/libasound_module_rate_lavrate_faster.so %%FFMPEG%%lib/alsa-lib/libasound_module_rate_lavrate_high.so %%FFMPEG%%lib/alsa-lib/libasound_module_rate_lavrate_higher.so %%SAMPLERATE%%lib/alsa-lib/libasound_module_rate_samplerate.la %%SAMPLERATE%%lib/alsa-lib/libasound_module_rate_samplerate.so %%SAMPLERATE%%lib/alsa-lib/libasound_module_rate_samplerate_best.so %%SAMPLERATE%%lib/alsa-lib/libasound_module_rate_samplerate_linear.so %%SAMPLERATE%%lib/alsa-lib/libasound_module_rate_samplerate_medium.so %%SAMPLERATE%%lib/alsa-lib/libasound_module_rate_samplerate_order.so %%SPEEX%%lib/alsa-lib/libasound_module_rate_speexrate.la %%SPEEX%%lib/alsa-lib/libasound_module_rate_speexrate.so %%SPEEX%%lib/alsa-lib/libasound_module_rate_speexrate_best.so %%SPEEX%%lib/alsa-lib/libasound_module_rate_speexrate_medium.so %%FFMPEG%%share/alsa/alsa.conf.d/10-rate-lav.conf %%SAMPLERATE%%share/alsa/alsa.conf.d/10-samplerate.conf @comment share/alsa/alsa.conf.d/50-arcam-av-ctl.conf +%%JACK%%share/alsa/alsa.conf.d/50-jack.conf @comment share/alsa/alsa.conf.d/50-oss.conf %%PULSEAUDIO%%share/alsa/alsa.conf.d/50-pulseaudio.conf %%FFMPEG%%share/alsa/alsa.conf.d/60-a52-encoder.conf %%SPEEX%%share/alsa/alsa.conf.d/60-speex.conf @comment share/alsa/alsa.conf.d/60-upmix.conf @comment share/alsa/alsa.conf.d/60-vdownmix.conf @comment share/alsa/alsa.conf.d/98-usb-stream.conf