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

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans@posteo.de>
This commit is contained in:
Theo Anderson
2021-01-17 23:45:07 +13:00
parent faf2d00179
commit 51694690a9

View File

@@ -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