diff options
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/s25rttr/files/s25rttr-0.8.1-format.patch | 11 | ||||
-rw-r--r-- | games-strategy/s25rttr/s25rttr-0.8.1-r1.ebuild | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/games-strategy/s25rttr/files/s25rttr-0.8.1-format.patch b/games-strategy/s25rttr/files/s25rttr-0.8.1-format.patch new file mode 100644 index 000000000000..588a755e829c --- /dev/null +++ b/games-strategy/s25rttr/files/s25rttr-0.8.1-format.patch @@ -0,0 +1,11 @@ +--- src/dskGameInterface.cpp.old 2016-02-15 21:11:58.308899794 +0100 ++++ src/dskGameInterface.cpp 2016-02-15 21:12:24.564433584 +0100 +@@ -1349,7 +1349,7 @@ + snprintf(text, sizeof(text), _("Team victory! '%s' and '%s' and '%s' and '%s' are the winners!"), GameClient::inst().GetPlayer(winners[0])->name.c_str(),GameClient::inst().GetPlayer(winners[1])->name.c_str(),GameClient::inst().GetPlayer(winners[2])->name.c_str(),GameClient::inst().GetPlayer(winners[3])->name.c_str()); + break; + default: +- snprintf(text, sizeof(text), _("Team victory!")); ++ snprintf(text, sizeof(text), "%s", _("Team victory!")); + break; + } + messenger.AddMessage("", 0, CD_SYSTEM, text, COLOR_ORANGE); diff --git a/games-strategy/s25rttr/s25rttr-0.8.1-r1.ebuild b/games-strategy/s25rttr/s25rttr-0.8.1-r1.ebuild index 46d23651c901..15d30987c1a4 100644 --- a/games-strategy/s25rttr/s25rttr-0.8.1-r1.ebuild +++ b/games-strategy/s25rttr/s25rttr-0.8.1-r1.ebuild @@ -32,6 +32,7 @@ src_prepare() { epatch "${FILESDIR}"/${P}-cmake.patch \ "${FILESDIR}"/${P}-soundconverter.patch \ "${FILESDIR}"/${P}-fpic.patch \ + "${FILESDIR}"/${P}-format.patch \ "${FILESDIR}"/${P}-miniupnpc-api-14.patch } |