From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2E8CD1381DF for ; Tue, 16 Feb 2016 06:47:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F07D8E0825; Tue, 16 Feb 2016 06:47:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8A4CBE0825 for ; Tue, 16 Feb 2016 06:47:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 82C43340A74 for ; Tue, 16 Feb 2016 06:47:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8ED70E5F for ; Tue, 16 Feb 2016 06:47:35 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1455605220.ed039116374461922879b35078c79d84f0f88794.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/s25rttr/files/, games-strategy/s25rttr/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-strategy/s25rttr/files/s25rttr-0.8.1-format.patch games-strategy/s25rttr/s25rttr-0.8.1-r1.ebuild X-VCS-Directories: games-strategy/s25rttr/ games-strategy/s25rttr/files/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: ed039116374461922879b35078c79d84f0f88794 X-VCS-Branch: master Date: Tue, 16 Feb 2016 06:47:35 +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-Archives-Salt: d842493b-cd2a-4815-aa1f-a9fc2ae09804 X-Archives-Hash: 0ab3f2022cc3f9083ba0e2290d71c7bb commit: ed039116374461922879b35078c79d84f0f88794 Author: Tupone Alfredo gentoo org> AuthorDate: Tue Feb 16 06:46:25 2016 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Tue Feb 16 06:47:00 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed039116 games-strategy/s25rttr: compile with format-security. Bug #540636 Package-Manager: portage-2.2.26 games-strategy/s25rttr/files/s25rttr-0.8.1-format.patch | 11 +++++++++++ games-strategy/s25rttr/s25rttr-0.8.1-r1.ebuild | 1 + 2 files changed, 12 insertions(+) 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 0000000..588a755 --- /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 46d2365..15d3098 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 }