From nobody Tue Jan 30 16:52:47 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TPWSH5MM6z599bC; Tue, 30 Jan 2024 16:52:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TPWSH4Wbnz49LV; Tue, 30 Jan 2024 16:52:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706633567; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EYu8DhXZOyUDJQzOYPO5eXefGhu6d4oXkM9L/JUiHac=; b=wyikcNgkoXZPeeDnmmnTI+O2bKaxRIsvdwGZwB0T0v/2HMGMM9j63xwmG5tmr2vAx6DLYi Sk986WoGMJ2q8i4J0IIygb1MA1KwZRsPv0qlEJyp6PnsCPwhsJU/ROJ8wePR2LyYULhW58 CPSJSocLC2ZaqqBYjTiP/BNQjjtNTBZo+dYIrdi/mz/CBCSj7s8RO2h0KG7zzjeS/6AEOd QLQS6vncR7TfftMjH1ZRamdR5trvBTbbzJWm4bA+uZfvZIrfj0rbe6M/wE709iEPz1kHEY peZmPUd8X/dkCTxAbdkrpf5bljRkZ1JOJR/Cn/B+sxH80E5I8e/ygep4a0ZYBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706633567; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EYu8DhXZOyUDJQzOYPO5eXefGhu6d4oXkM9L/JUiHac=; b=mArAwFz8qWzeUsYXi10tc7vuznj8/Of6Oxl2tppdYRcvx4vvv9nruGPYAxJmsqlT05yMlW CTWnh0T1o/26MOYfcAgVN9r666Xwrwf043R9Jm0xFd2qBL89zBE1D5yU6W8PY1bqBArr93 75TnOFwNTc8Ufk8OQ88jSvVyv96+vRrAWekqzi9NKBNavWpvM7HOfaUt14qekjdOBh/RTa 8rXICHSonxy9+CSEU93F7Br4/V+7/i+DjZHO2uh49tpGeEvnuverQEnGB0RJW08L2dosPy Pf8NlFYKe8SpS0FRA8blLcoX0mNdEPa+yWpN4p2+ZmTduRNLJ3EG9DGDG5/zaA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706633567; a=rsa-sha256; cv=none; b=P2qTUKQZSReayNQDQ36YIPMFY+MV5L/0Xgdv9GfID+4wLycwy9qsMp8ulD9eOAOnCug+As dqUgbBU1GWRwHHKz9tOHnnm8L+tFmyaUfIpM2+2U++6vqsk3L4oePYEeDNQPk+AD1+lZi4 DlhoUBgQiGfGqxzskXSZZLWuvJuaEAL/U67Fafh3sX+Iq2LK8kN/XNkGV37LyqEB+jLUQg ry29fYB5JZ+MtP/17oV6ZxWUs7FNHyOV0ZPLR/Me1vhMPDpRzxVLBhxqdo1dP6pfBQNiEh 9kcA+fItFQQPVl7kRtDuTCUiAgeztkW1+Vw18f98+VtzKxDJnTvGVB4+UZ4SyA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TPWSH3JMkzjxS; Tue, 30 Jan 2024 16:52:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40UGqlK3063766; Tue, 30 Jan 2024 16:52:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40UGqlBh063763; Tue, 30 Jan 2024 16:52:47 GMT (envelope-from git) Date: Tue, 30 Jan 2024 16:52:47 GMT Message-Id: <202401301652.40UGqlBh063763@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 609ec25809c7 - main - audio/alsa-plugins: unbreak JACK=on build after 6cd91556d4b8 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 609ec25809c7d1571a758ad09832fd6f6e1bc188 Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=609ec25809c7d1571a758ad09832fd6f6e1bc188 commit 609ec25809c7d1571a758ad09832fd6f6e1bc188 Author: Florian Walpen AuthorDate: 2023-11-03 22:48:48 +0000 Commit: Jan Beich CommitDate: 2024-01-30 16:50:58 +0000 audio/alsa-plugins: unbreak JACK=on build after 6cd91556d4b8 pcm_jack.c:606:23: error: use of undeclared identifier 'program_invocation_short_name' const char *pname = program_invocation_short_name; ^ ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: etc/alsa/conf.d/50-jack.conf Error: Orphaned: share/alsa/alsa.conf.d/50-jack.conf PR: 274792 --- audio/alsa-plugins/files/patch-jack_pcm__jack.c | 11 +++++++++++ audio/alsa-plugins/pkg-plist | 2 ++ 2 files changed, 13 insertions(+) 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