summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-01-27 08:32:18 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-01-27 08:32:18 +0800
commita19a838484ccd61df4961f804d5fe12ead169bfb (patch)
treecb4a10c44eda740180d84e138609e735b55fbe7a
parent0b842baade4806519ff71888a41381f7f23cebb5 (diff)
downloadmarcuscom-ports-a19a838484ccd61df4961f804d5fe12ead169bfb.tar
marcuscom-ports-a19a838484ccd61df4961f804d5fe12ead169bfb.tar.gz
marcuscom-ports-a19a838484ccd61df4961f804d5fe12ead169bfb.tar.bz2
marcuscom-ports-a19a838484ccd61df4961f804d5fe12ead169bfb.tar.lz
marcuscom-ports-a19a838484ccd61df4961f804d5fe12ead169bfb.tar.xz
marcuscom-ports-a19a838484ccd61df4961f804d5fe12ead169bfb.tar.zst
marcuscom-ports-a19a838484ccd61df4961f804d5fe12ead169bfb.zip
Fix the build on 4.X.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3537 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--editors/gedit/files/patch-plugins_taglist_gedit-taglist-plugin-parser.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/editors/gedit/files/patch-plugins_taglist_gedit-taglist-plugin-parser.c b/editors/gedit/files/patch-plugins_taglist_gedit-taglist-plugin-parser.c
new file mode 100644
index 000000000..81f704d8c
--- /dev/null
+++ b/editors/gedit/files/patch-plugins_taglist_gedit-taglist-plugin-parser.c
@@ -0,0 +1,18 @@
+--- plugins/taglist/gedit-taglist-plugin-parser.c.orig Wed Jan 26 19:28:35 2005
++++ plugins/taglist/gedit-taglist-plugin-parser.c Wed Jan 26 19:28:58 2005
+@@ -276,12 +276,13 @@
+ else
+ {
+ const char * const *langs_pointer;
++ gchar* lang;
+ gint i;
++ gint cur_lanking = 1;
+
+ langs_pointer = g_get_language_names ();
+
+- gchar* lang= (gchar*)xmlGetProp (cur, (const xmlChar*) "lang");
+- gint cur_lanking = 1;
++ lang= (gchar*)xmlGetProp (cur, (const xmlChar*) "lang");
+
+ /*
+ * When found a new TagGroup, append the best