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 AD4C61388BF for ; Thu, 14 Jan 2016 20:40:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4E386E076D; Thu, 14 Jan 2016 20:40:49 +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 00D05E076D for ; Thu, 14 Jan 2016 20:40:48 +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 BD67E340AB2 for ; Thu, 14 Jan 2016 20:40:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B658A91 for ; Thu, 14 Jan 2016 20:40:45 +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: <1452804033.4554d8a520f2fcb0879f77d59f65e3f2e4cf4ccc.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/sirius/, games-board/sirius/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-board/sirius/files/sirius-0.8.0-format.patch games-board/sirius/sirius-0.8.0.ebuild X-VCS-Directories: games-board/sirius/files/ games-board/sirius/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 4554d8a520f2fcb0879f77d59f65e3f2e4cf4ccc X-VCS-Branch: master Date: Thu, 14 Jan 2016 20:40:45 +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: cea89f87-32be-4932-a8b9-09c740d46760 X-Archives-Hash: a3510754c9ace08f1e5fb28487edf046 commit: 4554d8a520f2fcb0879f77d59f65e3f2e4cf4ccc Author: Tupone Alfredo gentoo org> AuthorDate: Thu Jan 14 20:39:57 2016 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Thu Jan 14 20:40:33 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4554d8a5 games-board/sirius: Fix format-security. Bug #539102 Package-Manager: portage-2.2.26 games-board/sirius/files/sirius-0.8.0-format.patch | 11 +++++++++++ games-board/sirius/sirius-0.8.0.ebuild | 5 +++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/games-board/sirius/files/sirius-0.8.0-format.patch b/games-board/sirius/files/sirius-0.8.0-format.patch new file mode 100644 index 0000000..dccf6e2 --- /dev/null +++ b/games-board/sirius/files/sirius-0.8.0-format.patch @@ -0,0 +1,11 @@ +--- src/sirius.c.old 2016-01-14 21:22:53.946900371 +0100 ++++ src/sirius.c 2016-01-14 21:24:08.240507669 +0100 +@@ -180,7 +180,7 @@ + + paus = 1; + +- box = gtk_message_dialog_new (GTK_WINDOW (window), GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_OK, message); ++ box = gtk_message_dialog_new (GTK_WINDOW (window), GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_OK, "%s", message); + gtk_dialog_run (GTK_DIALOG(box)); + gtk_widget_destroy(box); + diff --git a/games-board/sirius/sirius-0.8.0.ebuild b/games-board/sirius/sirius-0.8.0.ebuild index 1396a94..cccde99 100644 --- a/games-board/sirius/sirius-0.8.0.ebuild +++ b/games-board/sirius/sirius-0.8.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 -inherit autotools games +inherit autotools eutils games DESCRIPTION="A program for playing the game of othello/reversi" HOMEPAGE="http://sirius.bitvis.nu/" @@ -29,6 +29,7 @@ src_prepare() { -e '/Categories/s/Application;//' \ sirius.desktop.in || die mv configure.in configure.ac || die + epatch "${FILESDIR}"/${P}-format.patch eautoreconf }