summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-mud/gmudix')
-rw-r--r--games-mud/gmudix/files/gmudix-1.0-format.patch11
-rw-r--r--games-mud/gmudix/gmudix-1.0.ebuild5
2 files changed, 14 insertions, 2 deletions
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