commit:     51694690a985718881fc7799c492d289d62c23ea
Author:     Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Sun Jan 17 10:45:07 2021 +0000
Commit:     Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Sun Jan 17 10:45:07 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=51694690

games-action/multimc: fix build with clang (-Werror)

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans <AT> posteo.de>

 games-action/multimc/multimc-0.6.11.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/games-action/multimc/multimc-0.6.11.ebuild 
b/games-action/multimc/multimc-0.6.11.ebuild
index 4596aa60..6ed40831 100644
--- a/games-action/multimc/multimc-0.6.11.ebuild
+++ b/games-action/multimc/multimc-0.6.11.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2020 Gentoo Authors
+# Copyright 2019-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -53,6 +53,11 @@ src_unpack() {
        mv "${WORKDIR}/quazip-${QUAZIP_VER}" "${S}/libraries/quazip" || die
 }
 
+src_prepare() {
+       cmake_src_prepare
+       sed -r -i 's/-Werror([a-z=-]+)?//g' CMakeLists.txt || die
+}
+
 src_configure() {
        local mycmakeargs=(
                -DMultiMC_LAYOUT=lin-system

Reply via email to