From nobody Thu Oct 17 22:34:04 2024 X-Original-To: dev-commits-ports-all@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 4XV2gc5yYpz5ZYvw; Thu, 17 Oct 2024 22:34:04 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XV2gc569pz3xch; Thu, 17 Oct 2024 22:34:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729204444; 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=yR8Im+Q0j4atenBxZ82Ss8h4w3+rADhtxC0zOt9SNzE=; b=yItrSLnpjHgv/fyJqoOxpAECRJU5fu1XPAg1lXdFjIGJrLhMXyqK84gm1nnMssFq35UPhn g/xlRYBqPQCXNqEngnnYEyanOpqlqo7Oln+8OCaCKihWOWIyc4582JIbFjQeXPW5ugm+GN g0patpzX9BF24gPEM73oBgtwSaURc3/3/iBPJW8tGilsvErz/VzI35GMWcI8qVCifaj7wb riTUOr9QVTlKmsz5oBW6Cl8y6tJGW3pnbHvpLS2J9t7ItWcq7uHd5q+zHgU40godmUpLR4 6Ju6J58VAKil14uzVb3pt7+WkAIxSGz5BFpbQ/6VtwJq5oYAp55mO3iaGzaSSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729204444; 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=yR8Im+Q0j4atenBxZ82Ss8h4w3+rADhtxC0zOt9SNzE=; b=V2w0QhAG3W2mssVOSJfDQvrKZzslCl9NZ7ImDtgUZ3HoZEEqnv/pDWoQlxgM65pb4gmfqU y9RG404tH6WclcB3s/2odSz06N2sowFX3k9oR3+Y696QAfB86UPZb+PNgsTdgH3ipF3RgY rrdQR4OBOEgn+ja54hkpbwHnq4YglERTYf69kicomoaFcFLoSncBQYA2IRKhKHm7Gdcv6g LZyi9wB0jaPSljtS3cjHNpmQh6BlmeX1/48a31cLjxN6qDnOlFCef8MFFxC/ItfyaxX68t TlRBgQYKoYxhGTnxekCDBangVhZZbYQJuEN5jmqwaqLjzuGIiXm70GySun8moQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729204444; a=rsa-sha256; cv=none; b=E2vitkgofkeRrlKmTZg3A1fpeiZOx5MBwdyB5EiwjHOdMM+Jom+mbRXhY6m9uyWJGJ5hNN xqSb7KYiiROSByL8CCY9z87bfXtAsxik1Y9GE/HywaLWWeUywuc8iLSMhlXhsiNuHbfnxo nAoGmhN1Tn0rFiUK6WbXUsViMDAecRrCY8Zuzqkqiu5ZLXIn1YUnFU/a/0vZ0aswqEAsrX aUk1CPnSd7x85fT/5Ko2eGqXZBmA+qa2PKy5uUiLQqextPxqxVnUj0RDckRWPGW73nSPNo hm2VbS/EZDMKn3WhSDEBc96c2FCisDUz72dvzQNeiywHtAePgyjk8Bbkt9UDyQ== 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 4XV2gc4hzSz17nZ; Thu, 17 Oct 2024 22:34:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49HMY43I050599; Thu, 17 Oct 2024 22:34:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49HMY42I050597; Thu, 17 Oct 2024 22:34:04 GMT (envelope-from git) Date: Thu, 17 Oct 2024 22:34:04 GMT Message-Id: <202410172234.49HMY42I050597@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Vladimir Druzenko Subject: git: 74ae766765f2 - 2024Q4 - audio/alsa-plugins: Fix build with JACK option: use of undeclared identifier 'program_invocation_short_name' List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/2024Q4 X-Git-Reftype: branch X-Git-Commit: 74ae766765f218beaee33a4dac47413d58efdf21 Auto-Submitted: auto-generated The branch 2024Q4 has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=74ae766765f218beaee33a4dac47413d58efdf21 commit 74ae766765f218beaee33a4dac47413d58efdf21 Author: Vladimir Druzenko AuthorDate: 2024-10-17 22:27:28 +0000 Commit: Vladimir Druzenko CommitDate: 2024-10-17 22:33:38 +0000 audio/alsa-plugins: Fix build with JACK option: use of undeclared identifier 'program_invocation_short_name' pcm_jack.c:606:23: error: use of undeclared identifier 'program_invocation_short_name' 606 | const char *pname = program_invocation_short_name; | ^ 1 error generated. Upstream broke build on FreeBSD in commit: https://github.com/alsa-project/alsa-plugins/commit/13a645e55a740dfa43bb3518da3f580c90be7eac Pool request: https://github.com/alsa-project/alsa-plugins/pull/48 PR: 280144 Reported by: Peter Much Tested by: Peter Much Fixes: 1a782b315786 (update 1.2.7.1 → 1.2.12) MFH: 2024Q4 (cherry picked from commit 65906cb5ed4261a7cb92f3fd08e75ee08ef159a1) --- audio/alsa-plugins/files/patch-jack_pcm__jack.c | 11 +++++++++++ 1 file changed, 11 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..fbe4dc2f06bd --- /dev/null +++ b/audio/alsa-plugins/files/patch-jack_pcm__jack.c @@ -0,0 +1,11 @@ +--- jack/pcm_jack.c.orig 2024-06-10 09:18:39 UTC ++++ jack/pcm_jack.c +@@ -602,7 +602,7 @@ static int snd_pcm_jack_open(snd_pcm_t **pcmp, const c + } + + if (client_name == NULL) { +-#if defined(_GNU_SOURCE) ++#if defined(_GNU_SOURCE) && defined(__linux__) + const char *pname = program_invocation_short_name; + #else + const char *pname = getprogname();