summaryrefslogtreecommitdiffstats
path: root/misc/fcitx-configtool/fcitx-configtool-0.3.1-glib.patch
diff options
context:
space:
mode:
author vvoody <vvoodywang@gmail.com>2012-09-14 14:50:08 +0000
committer Robby Workman <rworkman@slackbuilds.org>2012-09-14 16:40:35 -0500
commit65dad92448b6b50c7a7e6ae367a32688a33f86b8 (patch)
treea9c068cd2a20d9298c00f8029eb96c2ac6d3308e /misc/fcitx-configtool/fcitx-configtool-0.3.1-glib.patch
parent923e4089dd486601bc1f9ba562010e978d5efdfe (diff)
downloadslackbuilds-65dad92448b6b50c7a7e6ae367a32688a33f86b8.tar.gz
slackbuilds-65dad92448b6b50c7a7e6ae367a32688a33f86b8.tar.xz
misc/fcitx-configtool: Fixed build errors due to new glib2
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'misc/fcitx-configtool/fcitx-configtool-0.3.1-glib.patch')
-rw-r--r--misc/fcitx-configtool/fcitx-configtool-0.3.1-glib.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/misc/fcitx-configtool/fcitx-configtool-0.3.1-glib.patch b/misc/fcitx-configtool/fcitx-configtool-0.3.1-glib.patch
new file mode 100644
index 0000000000..cd665e7cab
--- /dev/null
+++ b/misc/fcitx-configtool/fcitx-configtool-0.3.1-glib.patch
@@ -0,0 +1,37 @@
+diff -ur fcitx-configtool-0.3.1/gtk/config_widget.h fcitx-configtool-0.3.1_fixed/gtk/config_widget.h
+--- fcitx-configtool-0.3.1/gtk/config_widget.h 2011-09-09 03:55:49.000000000 +0000
++++ fcitx-configtool-0.3.1_fixed/gtk/config_widget.h 2012-09-14 14:40:24.016046036 +0000
+@@ -23,7 +23,7 @@
+ #define _FCITX_CONFIG_WIDGET
+
+ #include <gtk/gtkwidget.h>
+-#include <glib/gstring.h>
++#include <glib.h>
+ #include <fcitx-config/fcitx-config.h>
+ #include <gtk/gtkvbox.h>
+ #include "sub_config_parser.h"
+diff -ur fcitx-configtool-0.3.1/gtk/sub_config_parser.c fcitx-configtool-0.3.1_fixed/gtk/sub_config_parser.c
+--- fcitx-configtool-0.3.1/gtk/sub_config_parser.c 2011-09-09 03:55:49.000000000 +0000
++++ fcitx-configtool-0.3.1_fixed/gtk/sub_config_parser.c 2012-09-14 14:32:49.512156233 +0000
+@@ -22,8 +22,7 @@
+ #include <dirent.h>
+ #include <string.h>
+ #include <sys/stat.h>
+-#include <glib/gstrfuncs.h>
+-#include <glib/gpattern.h>
++#include <glib.h>
+
+ #include <fcitx-config/xdg.h>
+ #include <fcitx-utils/log.h>
+diff -ur fcitx-configtool-0.3.1/gtk/sub_config_parser.h fcitx-configtool-0.3.1_fixed/gtk/sub_config_parser.h
+--- fcitx-configtool-0.3.1/gtk/sub_config_parser.h 2011-09-09 03:55:49.000000000 +0000
++++ fcitx-configtool-0.3.1_fixed/gtk/sub_config_parser.h 2012-09-14 14:33:05.738265415 +0000
+@@ -19,7 +19,7 @@
+
+ #ifndef _SUB_CONFIG_PARSER_H
+ #define _SUB_CONFIG_PARSER_H
+-#include <glib/ghash.h>
++#include <glib.h>
+
+ typedef enum
+ {