diff options
author | Alexey Sokolov <alexey+gentoo@asokolov.org> | 2021-10-04 21:52:18 +0100 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2021-10-04 19:56:18 -0400 |
commit | 748756d8d10e901754d9d33a9a6104284ebd6c76 (patch) | |
tree | 0a0006b201e15c04f016cc2c0565a12318b0426d /games-strategy/warmux/files | |
parent | app-emulation/docker: 20.10.9 bump (diff) | |
download | gentoo-748756d8d10e901754d9d33a9a6104284ebd6c76.tar.gz gentoo-748756d8d10e901754d9d33a9a6104284ebd6c76.tar.bz2 gentoo-748756d8d10e901754d9d33a9a6104284ebd6c76.zip |
games-strategy/warmux: fix build, deps, bump eapi
Remove nls USE flag, because it caused build failure when disabled,
because in that case it defines its own ngettext macro, which conflicts
with that function defined in libintl.h which is transitively included
anyway.
Closes: https://bugs.gentoo.org/739400
Closes: https://bugs.gentoo.org/796914
Closes: https://bugs.gentoo.org/631434
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/22489
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-strategy/warmux/files')
-rw-r--r-- | games-strategy/warmux/files/warmux-11.04.1-clang.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/games-strategy/warmux/files/warmux-11.04.1-clang.patch b/games-strategy/warmux/files/warmux-11.04.1-clang.patch new file mode 100644 index 000000000000..eb4097bfe6f3 --- /dev/null +++ b/games-strategy/warmux/files/warmux-11.04.1-clang.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/739400 + +--- a/src/map/tile.cpp ++++ b/src/map/tile.cpp +@@ -673,7 +673,7 @@ Tile::SynchTileList Tile::GetTilesToSynch() + TileItem_NonEmpty *t = static_cast<TileItem_NonEmpty*>(item[i]); + + if (t->NeedSynch()) { +- SynchTileInfo info = { i, t->GetSynchsum() }; ++ SynchTileInfo info = { (uint16_t)i, t->GetSynchsum() }; + list.push_back(info); + } + } |