summarylogtreecommitdiffstats
path: root/enchant-2.x.patch
diff options
context:
space:
mode:
authorYen Chi Hsuan2017-12-18 22:00:40 +0800
committerYen Chi Hsuan2017-12-18 22:00:40 +0800
commit42cc417a1edb3f36eef984a12f9f059f242ea19b (patch)
treeb9d9fe45cca64eed1e6d689b1a813e06009ad618 /enchant-2.x.patch
parent500360c55e9e13c93d27936b519ccf34ea7cc63e (diff)
downloadaur-42cc417a1edb3f36eef984a12f9f059f242ea19b.tar.gz
fix build against enchant 2.x
Diffstat (limited to 'enchant-2.x.patch')
-rw-r--r--enchant-2.x.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/enchant-2.x.patch b/enchant-2.x.patch
new file mode 100644
index 000000000000..e65c5b88971f
--- /dev/null
+++ b/enchant-2.x.patch
@@ -0,0 +1,11 @@
+--- webkitgtk-2.4.9/Source/WebCore/platform/text/enchant/TextCheckerEnchant.cpp.orig 2017-12-06 14:59:40.768262788 -0500
++++ webkitgtk-2.4.9/Source/WebCore/platform/text/enchant/TextCheckerEnchant.cpp 2017-12-06 15:03:10.000000000 -0500
+@@ -128,7 +128,7 @@
+ for (i = 0; i < numberOfSuggestions; i++)
+ guesses.append(String::fromUTF8(suggestions[i]));
+
+- enchant_dict_free_suggestions(*iter, suggestions);
++ enchant_dict_free_string_list(*iter, suggestions);
+ }
+
+ return guesses; \ No newline at end of file