FreeBSD Bugzilla – Attachment 246089 Details for
Bug 274792
audio/alsa-plugins-1.2.7.1 fails to build with poudriere when the JACK option set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
audio/alsa-plugins: Fix build with JACK option set.
audio-alsa-plugins-Fix-build-with-JACK-option-set.patch (text/plain), 2.01 KB, created by
Florian Walpen
on 2023-11-03 23:22:03 UTC
(
hide
)
Description:
audio/alsa-plugins: Fix build with JACK option set.
Filename:
MIME Type:
Creator:
Florian Walpen
Created:
2023-11-03 23:22:03 UTC
Size:
2.01 KB
patch
obsolete
>From f319c7ab317915dbc8fb392d8878df3e2092d19d Mon Sep 17 00:00:00 2001 >From: Florian Walpen <dev@submerge.ch> >Date: Fri, 3 Nov 2023 23:48:48 +0100 >Subject: [PATCH] audio/alsa-plugins: Fix build with JACK option set. > >Replace linux' program_invocation_short_name with getprogname(). >Also add two missing config files to pkg-plist. > >PR: 274792 >--- > audio/alsa-plugins/files/patch-jack_pcm__jack.c | 11 +++++++++++ > audio/alsa-plugins/pkg-plist | 2 ++ > 2 files changed, 13 insertions(+) > create mode 100644 audio/alsa-plugins/files/patch-jack_pcm__jack.c > >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,5 +1,6 @@ > %%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 >@@ -52,6 +53,7 @@ lib/alsa-lib/libasound_module_pcm_vdownmix.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 >-- >2.42.1 >
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
Actions:
View
|
Diff
Attachments on
bug 274792
:
245973
| 246089