diff options
Diffstat (limited to 'x11-libs/libgxim/files/libgxim-0.5.0-gcc14.patch')
-rw-r--r-- | x11-libs/libgxim/files/libgxim-0.5.0-gcc14.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/x11-libs/libgxim/files/libgxim-0.5.0-gcc14.patch b/x11-libs/libgxim/files/libgxim-0.5.0-gcc14.patch new file mode 100644 index 000000000000..36e62471d591 --- /dev/null +++ b/x11-libs/libgxim/files/libgxim-0.5.0-gcc14.patch @@ -0,0 +1,40 @@ +From 274976ff39d9142169a18655f5013e66233ac9c8 Mon Sep 17 00:00:00 2001 +From: Akira TAGOH <akira@tagoh.org> +Date: Wed, 14 Feb 2018 13:20:40 +0900 +Subject: [PATCH] Fix a build fail + +--- + libgxim/gximcore.c | 2 -- + libgxim/gximprotocol10.c | 2 +- + 2 files changed, 1 insertion(+), 3 deletions(-) + +diff --git a/libgxim/gximcore.c b/libgxim/gximcore.c +index a92c413..3955d01 100644 +--- a/libgxim/gximcore.c ++++ b/libgxim/gximcore.c +@@ -26,9 +26,7 @@ + #endif + + #include <glib/gi18n-lib.h> +-#ifdef GNOME_ENABLE_DEBUG + #include <gdk/gdkx.h> +-#endif /* GNOME_ENABLE_DEBUG */ + #include "gximacc.h" + #include "gximconnection.h" + #include "gximmarshal.h" +diff --git a/libgxim/gximprotocol10.c b/libgxim/gximprotocol10.c +index 04887a5..65bd4df 100644 +--- a/libgxim/gximprotocol10.c ++++ b/libgxim/gximprotocol10.c +@@ -2073,7 +2073,7 @@ g_xim_protocol10_closure_real_parser_error(GXimProtocol *proto, + msg = g_strdup_printf("Unable to parse the protocol %s properly", + g_xim_protocol_name(major_opcode)); + +- g_xim_messages_error(G_XIM_PROTOCOL_GET_IFACE (proto)->message, msg); ++ g_xim_messages_error(G_XIM_PROTOCOL_GET_IFACE (proto)->message, "%s", msg); + switch (major_opcode) { + case G_XIM_CONNECT: + case G_XIM_AUTH_REQUIRED: +-- +2.45.0 + |