summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-11-23 00:18:04 +0100
committerMichał Górny <mgorny@gentoo.org>2020-11-23 01:33:32 +0100
commit50b2e45fc40f1bbad7500004caccbbfc58013c9a (patch)
treea401f996469a2242d8d036612bc8d8c7313598e7 /games-engines
parentgames-strategy/war1gus: New package (diff)
downloadgentoo-50b2e45fc40f1bbad7500004caccbbfc58013c9a.tar.gz
gentoo-50b2e45fc40f1bbad7500004caccbbfc58013c9a.tar.bz2
gentoo-50b2e45fc40f1bbad7500004caccbbfc58013c9a.zip
games-engines/stratagus: Strip -Werror
Closes: https://bugs.gentoo.org/756142 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'games-engines')
-rw-r--r--games-engines/stratagus/stratagus-2.4.3.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/games-engines/stratagus/stratagus-2.4.3.ebuild b/games-engines/stratagus/stratagus-2.4.3.ebuild
index e21ab4238f1d..e593ce458e1e 100644
--- a/games-engines/stratagus/stratagus-2.4.3.ebuild
+++ b/games-engines/stratagus/stratagus-2.4.3.ebuild
@@ -42,6 +42,11 @@ PATCHES=(
"${FILESDIR}/${PN}"-2.3.0-doc.patch
)
+src_prepare() {
+ sed -i -e 's:-Werror::' CMakeLists.txt || die
+ cmake_src_prepare
+}
+
src_configure() {
# there are in-source switches
use debug && CMAKE_BUILD_TYPE=Debug