diff options
author | 2023-02-13 23:01:59 +0000 | |
---|---|---|
committer | 2023-02-13 23:01:59 +0000 | |
commit | 50f5b53df24d84c30846cec9f3de31f11b707ca1 (patch) | |
tree | 7ec88819e1ce7e589bf3fdb622753263915bbadc /app-accessibility | |
parent | sys-apps/groff: fix build w/ Clang 16 for 1.22.4 (diff) | |
download | gentoo-50f5b53df24d84c30846cec9f3de31f11b707ca1.tar.gz gentoo-50f5b53df24d84c30846cec9f3de31f11b707ca1.tar.bz2 gentoo-50f5b53df24d84c30846cec9f3de31f11b707ca1.zip |
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 <sam@gentoo.org>
Diffstat (limited to 'app-accessibility')
-rw-r--r-- | app-accessibility/speech-tools/speech-tools-2.5.0-r1.ebuild | 9 |
1 files 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)" \ |