public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/nestopia/, games-emulation/nestopia/files/
Date: Wed, 11 Nov 2015 08:41:11 +0000 (UTC)	[thread overview]
Message-ID: <1447231252.a9483ab7df5051c9fad56a462fc0b3667f29390b.tupone@gentoo> (raw)

commit:     a9483ab7df5051c9fad56a462fc0b3667f29390b
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 11 08:40:13 2015 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Nov 11 08:40:52 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9483ab7

games-emulation/nestopia: Compile with format-security. Bug #544356

Package-Manager: portage-2.2.20.1

 games-emulation/nestopia/files/nestopia-1.46.2-format.patch | 11 +++++++++++
 games-emulation/nestopia/nestopia-1.46.2.ebuild             |  1 +
 2 files changed, 12 insertions(+)

diff --git a/games-emulation/nestopia/files/nestopia-1.46.2-format.patch b/games-emulation/nestopia/files/nestopia-1.46.2-format.patch
new file mode 100644
index 0000000..7c8a902
--- /dev/null
+++ b/games-emulation/nestopia/files/nestopia-1.46.2-format.patch
@@ -0,0 +1,11 @@
+--- source/unix/gtkui/gtkui.cpp.old	2015-11-11 09:13:57.417684436 +0100
++++ source/unix/gtkui/gtkui.cpp	2015-11-11 09:14:12.176407155 +0100
+@@ -317,7 +317,7 @@
+ 				GTK_DIALOG_DESTROY_WITH_PARENT,
+ 				GTK_MESSAGE_INFO,
+ 				GTK_BUTTONS_OK,
+-				message);
++				"%s", message);
+ 	gtk_dialog_run(GTK_DIALOG(messagewindow));
+ 	gtk_widget_destroy(messagewindow);
+ }

diff --git a/games-emulation/nestopia/nestopia-1.46.2.ebuild b/games-emulation/nestopia/nestopia-1.46.2.ebuild
index d5d8f73..c94c574 100644
--- a/games-emulation/nestopia/nestopia-1.46.2.ebuild
+++ b/games-emulation/nestopia/nestopia-1.46.2.ebuild
@@ -38,6 +38,7 @@ src_prepare() {
 		-e "/^BINDIR / s:=.*:=${GAMES_BINDIR}:" \
 		-e "/^DATADIR / s:=.*:=${GAMES_DATADIR}/${PN}:" \
 		Makefile || die
+	epatch "${FILESDIR}"/${P}-format.patch
 }
 
 src_install() {


             reply	other threads:[~2015-11-11  8:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-11  8:41 Alfredo Tupone [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-12-30 20:38 [gentoo-commits] repo/gentoo:master commit in: games-emulation/nestopia/, games-emulation/nestopia/files/ David Seifert
2017-01-05 13:30 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1447231252.a9483ab7df5051c9fad56a462fc0b3667f29390b.tupone@gentoo \
    --to=tupone@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox