* [gentoo-commits] repo/gentoo:master commit in: games-puzzle/quadra/, games-puzzle/quadra/files/
@ 2015-12-08 20:46 Alfredo Tupone
0 siblings, 0 replies; only message in thread
From: Alfredo Tupone @ 2015-12-08 20:46 UTC (permalink / raw
To: gentoo-commits
commit: b11605f98ffe86003f351b97d7c975c554bf19a6
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 8 20:46:12 2015 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Dec 8 20:46:12 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b11605f9
games-puzzle/quadra: Compile with format-security. Bug #544354
Package-Manager: portage-2.2.20.1
games-puzzle/quadra/files/quadra-1.2.0-format.patch | 11 +++++++++++
games-puzzle/quadra/quadra-1.2.0.ebuild | 1 +
2 files changed, 12 insertions(+)
diff --git a/games-puzzle/quadra/files/quadra-1.2.0-format.patch b/games-puzzle/quadra/files/quadra-1.2.0-format.patch
new file mode 100644
index 0000000..d9db497
--- /dev/null
+++ b/games-puzzle/quadra/files/quadra-1.2.0-format.patch
@@ -0,0 +1,11 @@
+--- source/net_list.cpp.old 2015-12-08 21:41:16.782404098 +0100
++++ source/net_list.cpp 2015-12-08 21:41:33.153114600 +0100
+@@ -693,7 +693,7 @@
+ //Drawn at a total higher or equal to end_value: suspense!
+ // or maybe timer just elapsed and the game is drawn
+ // (still suspense! :))
+- sprintf(st, ST_GAMETIED);
++ sprintf(st, "%s", ST_GAMETIED);
+ message(-1, st);
+ { Sfx stmp(sons.levelup, 0, 0, -1, 18050); }
+ { Sfx stmp(sons.levelup, 0, 0, -1, 18100); }
diff --git a/games-puzzle/quadra/quadra-1.2.0.ebuild b/games-puzzle/quadra/quadra-1.2.0.ebuild
index 42d40a5..9841a5f 100644
--- a/games-puzzle/quadra/quadra-1.2.0.ebuild
+++ b/games-puzzle/quadra/quadra-1.2.0.ebuild
@@ -29,6 +29,7 @@ src_prepare() {
-e "/^libgamesdir:=/s:/games:/${PN}:" \
-e "/^datagamesdir:=/s:/games:/${PN}:" \
config/config.mk.in || die
+ epatch "${FILESDIR}"/${P}-format.patch
}
src_install() {
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-12-08 20:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-08 20:46 [gentoo-commits] repo/gentoo:master commit in: games-puzzle/quadra/, games-puzzle/quadra/files/ Alfredo Tupone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox