commit:     7756de4318427c9b5810f62730b1bef9f87ea9e4
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  9 19:15:54 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Feb  9 19:15:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7756de43

games-emulation/nestopia: silence -Wc++11-narrowing on clang

Closes: https://bugs.gentoo.org/830469
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 games-emulation/nestopia/nestopia-1.51.1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/games-emulation/nestopia/nestopia-1.51.1.ebuild 
b/games-emulation/nestopia/nestopia-1.51.1.ebuild
index c6bdbe0d6fb8..ebab0b9b149b 100644
--- a/games-emulation/nestopia/nestopia-1.51.1.ebuild
+++ b/games-emulation/nestopia/nestopia-1.51.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools xdg
+inherit autotools flag-o-matic xdg
 
 DESCRIPTION="Portable Nintendo Entertainment System emulator written in C++"
 HOMEPAGE="http://0ldsk00l.ca/nestopia/";
@@ -38,5 +38,8 @@ src_prepare() {
 }
 
 src_configure() {
+       # silence the narrowing warnings on clang (#830469)
+       append-cxxflags -Wno-narrowing
+
        econf $(use_enable doc)
 }

Reply via email to