From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D6FE115800F for ; Mon, 13 Feb 2023 23:24:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E09E1E07C9; Mon, 13 Feb 2023 23:24:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C6F19E07C9 for ; Mon, 13 Feb 2023 23:24:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AF8B1340C6C for ; Mon, 13 Feb 2023 23:24:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8DF198A7 for ; Mon, 13 Feb 2023 23:24:01 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1676329319.50f5b53df24d84c30846cec9f3de31f11b707ca1.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-accessibility/speech-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-accessibility/speech-tools/speech-tools-2.5.0-r1.ebuild X-VCS-Directories: app-accessibility/speech-tools/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 50f5b53df24d84c30846cec9f3de31f11b707ca1 X-VCS-Branch: master Date: Mon, 13 Feb 2023 23:24:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 234dbea7-2cbb-4a9f-9c85-8bfbc83b1f20 X-Archives-Hash: 8e943774046cc5b04f60341caa9e86d1 commit: 50f5b53df24d84c30846cec9f3de31f11b707ca1 Author: Sam James gentoo org> AuthorDate: Mon Feb 13 23:01:59 2023 +0000 Commit: Sam James gentoo org> CommitDate: Mon Feb 13 23:01:59 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50f5b53d app-accessibility/speech-tools: fix build w/ clang 16 Upstream seems gone. Closes: https://bugs.gentoo.org/881863 Closes: https://bugs.gentoo.org/894184 Signed-off-by: Sam James gentoo.org> app-accessibility/speech-tools/speech-tools-2.5.0-r1.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app-accessibility/speech-tools/speech-tools-2.5.0-r1.ebuild b/app-accessibility/speech-tools/speech-tools-2.5.0-r1.ebuild index c2d113a7a6c6..90155ff033cd 100644 --- a/app-accessibility/speech-tools/speech-tools-2.5.0-r1.ebuild +++ b/app-accessibility/speech-tools/speech-tools-2.5.0-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit autotools toolchain-funcs +inherit autotools flag-o-matic toolchain-funcs MY_P=${P/speech-/speech_} PATCHSET="r3" @@ -99,6 +99,11 @@ src_configure() { } src_compile() { + # Lacks prototypes, bug #881863 + append-cflags -std=gnu89 + # Uses 'register' keyword removed in C++17, bug #894184 + append-cxxflags -std=c++14 + emake -j1 \ CC="$(tc-getCC)" \ CXX="$(tc-getCXX)" \