From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B78A7138239 for ; Mon, 18 Jan 2021 07:59:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1767DE0875; Mon, 18 Jan 2021 07:59:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EFD05E0875 for ; Mon, 18 Jan 2021 07:59:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E689F340E29 for ; Mon, 18 Jan 2021 07:58:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D21644A2 for ; Mon, 18 Jan 2021 07:58:56 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1610880307.51694690a985718881fc7799c492d289d62c23ea.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: games-action/multimc/ X-VCS-Repository: repo/proj/guru X-VCS-Files: games-action/multimc/multimc-0.6.11.ebuild X-VCS-Directories: games-action/multimc/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 51694690a985718881fc7799c492d289d62c23ea X-VCS-Branch: master Date: Mon, 18 Jan 2021 07:58:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b624cc0a-30c5-44d7-93d5-010db60b3ad6 X-Archives-Hash: 60488d2927bd70d4d71e396394de36d8 commit: 51694690a985718881fc7799c492d289d62c23ea Author: Theo Anderson posteo de> AuthorDate: Sun Jan 17 10:45:07 2021 +0000 Commit: Andrew Ammerlaan riseup net> 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 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