From 4eb354eb44363f33c5f849ac35337f12ba870af5 Mon Sep 17 00:00:00 2001 From: Tupone Alfredo Date: Thu, 4 Feb 2016 21:25:23 +0100 Subject: games-mud/gmudix: Fix format-security. Bug #539104 Package-Manager: portage-2.2.26 --- games-mud/gmudix/files/gmudix-1.0-format.patch | 11 +++++++++++ games-mud/gmudix/gmudix-1.0.ebuild | 5 +++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 games-mud/gmudix/files/gmudix-1.0-format.patch (limited to 'games-mud/gmudix') diff --git a/games-mud/gmudix/files/gmudix-1.0-format.patch b/games-mud/gmudix/files/gmudix-1.0-format.patch new file mode 100644 index 000000000000..77314c94f950 --- /dev/null +++ b/games-mud/gmudix/files/gmudix-1.0-format.patch @@ -0,0 +1,11 @@ +--- src/gui_user.c.old 2016-02-04 21:21:15.141455597 +0100 ++++ src/gui_user.c 2016-02-04 21:21:31.016156493 +0100 +@@ -820,7 +820,7 @@ + + dialog = gtk_message_dialog_new(GTK_WINDOW(user->gui_user.g_window), + GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_INFO, +- GTK_BUTTONS_CLOSE, msg); ++ GTK_BUTTONS_CLOSE, "%s", msg); + + gtk_window_set_transient_for(GTK_WINDOW(user->gui_user.g_window), + GTK_WINDOW(dialog)); diff --git a/games-mud/gmudix/gmudix-1.0.ebuild b/games-mud/gmudix/gmudix-1.0.ebuild index 1490308617cc..58961046bf70 100644 --- a/games-mud/gmudix/gmudix-1.0.ebuild +++ b/games-mud/gmudix/gmudix-1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -19,7 +19,8 @@ DEPEND="${RDEPEND} virtual/pkgconfig" src_prepare() { - epatch "${FILESDIR}"/${P}-as-needed.patch + epatch "${FILESDIR}"/${P}-as-needed.patch \ + "${FILESDIR}"/${P}-format.patch mv configure.in configure.ac || die rm -f missing || die eautoreconf -- cgit v1.2.3-65-gdbad