From nobody Sat Jul 15 17:51:22 2023 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 4R3G9l0WS2z4nTgV; Sat, 15 Jul 2023 17:51:23 +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 4R3G9l05DTz4CYt; Sat, 15 Jul 2023 17:51:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689443483; 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=G2vhQQbNMPIE+drvFAR8hfUgvRf8kIP322ixiJOD9Q0=; b=ky6WXr5J4fHUCaKIs/uIZi4YWgQMw5KdUf4aHjucNQyOvgLqp+fkuo5S0EFXI/R4YbOqRH QL5pcD9Vm4WQr5+Vi6BJvu/WCkfeoUvzvg/ZM1rE/lfV+oNrd91RakPoFy0T2SMjFXrDLz PbVqzmsei94of0DMFusmPweNpXTGDkrOTV1RBmerp+PXlU5VoAtJ7wNuXjBlrPohrjpBoP 48m3hq6LH1VvpUASiyb+XlLh7cazbE7VePoeyc1cKLHzDMFlAFMXqYho1LcVS+REbvkcla R05OH8ApT03YirN+auDaMFEScHfFG07N3wpWwsYnB9yJVRC/zh7WH428mbMXeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689443483; 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=G2vhQQbNMPIE+drvFAR8hfUgvRf8kIP322ixiJOD9Q0=; b=TSnQo/njdYubt5SC0hAxtnutdqsz6mG6lUiPyIvVVUavT0aImAGlQJviKpIPZGkT0cjnUL cMQn/wTq40NL/ZaiZkcTWmo9Lg64RrZ1vLPw+It8KuwF/cn8yxVzI7LC+ArwxKuM30/JDp O4ey/7QikYHVHk2NrCNeE9UJXTSkKEWq9+AZpzb8n7ktXgqRA1dLaJ0JPOAWaVAzPD8d2Y Xc/imzDjEsv6g//NcWY/X2yhE0NfORZsfnz1HG1rhvKV5WDXuD4squrRUmINoZ0NjQosgd vY4DmJ5XtHC0Bzj2GdfywT/9P6rOufzTGmW6A13qsoemGjQVagecqJ1hMNp/rw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689443483; a=rsa-sha256; cv=none; b=MCPk3USN8me2xS97JbCuQoYcfCagZc8ZTT86fZ2vBaO1598HDBoEFj5+eH2SFNBenq3l0c +gv6+jBVV1Aip0s47x0ewgdzdPm3twmVcvPKh7p0IM3z3n1NlnjzmhekSQM7hspH3oDMeP wReBLEq0sOjd3FUBabzQamzm4cBOOVNxyAh0xtj86XfkU3B9KDSLaIV/ZG7zKF80dWhGxg M6wkuBMSoof0XT+74eQaDPxBLJf61l0TnLMlw5Cbmy4fKSrC3U/Bv2J8QRuWPM+PUSoxDW b/J9KQCGQHovUEkQmB7s/YVxk1PL2y1zF+anZMl4MDnf6yRTJCXwhrlddSOjig== 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 4R3G9k6DR8z18gQ; Sat, 15 Jul 2023 17:51:22 +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 36FHpMLh024684; Sat, 15 Jul 2023 17:51:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36FHpMIX024673; Sat, 15 Jul 2023 17:51:22 GMT (envelope-from git) Date: Sat, 15 Jul 2023 17:51:22 GMT Message-Id: <202307151751.36FHpMIX024673@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Santhosh Raju Subject: git: 487fb7de399f - main - audio/din: Fix build failures for clang 16.0.6 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fox X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 487fb7de399f7800c20bc24215b52720e75a9db7 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fox: URL: https://cgit.FreeBSD.org/ports/commit/?id=487fb7de399f7800c20bc24215b52720e75a9db7 commit 487fb7de399f7800c20bc24215b52720e75a9db7 Author: Santhosh Raju AuthorDate: 2023-07-15 17:48:34 +0000 Commit: Santhosh Raju CommitDate: 2023-07-15 17:50:37 +0000 audio/din: Fix build failures for clang 16.0.6 Remove "register" keyword, which is not supported in ISO C++17. Change applies to 14.0-CURRENT (1400092 and above). --- audio/din/files/patch-src_RtAudio.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/audio/din/files/patch-src_RtAudio.cpp b/audio/din/files/patch-src_RtAudio.cpp new file mode 100644 index 000000000000..255de58f394e --- /dev/null +++ b/audio/din/files/patch-src_RtAudio.cpp @@ -0,0 +1,17 @@ +Add support for compiling in ISO C++17 +--- src/RtAudio.cpp.orig 2023-07-15 17:18:23 UTC ++++ src/RtAudio.cpp +@@ -10050,8 +10050,13 @@ void RtApi :: byteSwapBuffer( char *buffer, unsigned i + + void RtApi :: byteSwapBuffer( char *buffer, unsigned int samples, RtAudioFormat format ) + { ++ #if __cplusplus < 201703L + register char val; + register char *ptr; ++ #else ++ char val; ++ char *ptr; ++ #endif + + ptr = buffer; + if ( format == RTAUDIO_SINT16 ) {