From 51694690a985718881fc7799c492d289d62c23ea Mon Sep 17 00:00:00 2001 From: Theo Anderson Date: Sun, 17 Jan 2021 23:45:07 +1300 Subject: [PATCH] games-action/multimc: fix build with clang (-Werror) Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Theo Anderson --- 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 4596aa6095..6ed4083114 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