commit:     e59f268c2686f081cf8177ab24d19731ba0c9646
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 13 23:21:54 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 13 23:21:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e59f268c

app-accessibility/epos: fix build w/ clang 16

Closes: https://bugs.gentoo.org/894178
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-accessibility/epos/epos-2.5.37-r3.ebuild | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/app-accessibility/epos/epos-2.5.37-r3.ebuild 
b/app-accessibility/epos/epos-2.5.37-r3.ebuild
index 81187ea939bf..5e37997d1ed0 100644
--- a/app-accessibility/epos/epos-2.5.37-r3.ebuild
+++ b/app-accessibility/epos/epos-2.5.37-r3.ebuild
@@ -1,23 +1,20 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit autotools
+inherit autotools flag-o-matic
 
-DESCRIPTION="language independent text-to-speech system"
+DESCRIPTION="Language independent text-to-speech system"
 HOMEPAGE="http://epos.ufe.cz/";
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 x86"
-IUSE=""
+RESTRICT="test" # needs running eposd
 
-RESTRICT=test # needs running eposd
-
-DEPEND="dev-util/byacc"
-RDEPEND=""
+BDEPEND="dev-util/byacc"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-2.5.37-gcc43.patch
@@ -36,6 +33,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # Uses removed 'register' keyword, bug #894178
+       append-cxxflags -std=c++03
+
        econf \
                --enable-charsets \
                --disable-portaudio \

Reply via email to