commit:     e663361d7ae19193db23fcde2d65479fb0409fc8
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sun Feb 14 10:32:42 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Feb 14 10:32:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e663361d

games-fps/qudos: Apply gcc-10 workaround

* Dead upstream

Closes: https://bugs.gentoo.org/708036
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 games-fps/qudos/qudos-0.40.1.ebuild | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/games-fps/qudos/qudos-0.40.1.ebuild 
b/games-fps/qudos/qudos-0.40.1.ebuild
index 27988248d7d..1c167f70ec4 100644
--- a/games-fps/qudos/qudos-0.40.1.ebuild
+++ b/games-fps/qudos/qudos-0.40.1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-inherit eutils toolchain-funcs games
+
+inherit eutils flag-o-matic toolchain-funcs games
 
 FILE_STEM="QuDos-${PV}-src"
 PK3_FILE="QuDos-${PV}.pk3"
@@ -108,6 +109,11 @@ src_prepare() {
                "${FILESDIR}"/${P}-gnusource.patch
 }
 
+src_configure() {
+       append-cflags -fcommon
+       default
+}
+
 src_compile() {
        yesno() { usex $1 YES NO; }
 

Reply via email to