summarylogtreecommitdiffstats
path: root/php-enchant-depr.patch
diff options
context:
space:
mode:
authorEugene Lamskoy2022-01-21 14:11:57 +0200
committerEugene Lamskoy2022-01-21 14:11:57 +0200
commiteadc7ccb6a5cf64307475d8826e63cfc9850da65 (patch)
tree674ee6b88dcedcda6d06ba265263d43e286d3165 /php-enchant-depr.patch
parent1c636aec0734d5e349a1a78dede03b1897bd85e5 (diff)
downloadaur-eadc7ccb6a5cf64307475d8826e63cfc9850da65.tar.gz
PHP 7.2.34 pkgrel=8
Diffstat (limited to 'php-enchant-depr.patch')
-rw-r--r--php-enchant-depr.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/php-enchant-depr.patch b/php-enchant-depr.patch
new file mode 100644
index 000000000000..0e2d2c0cf676
--- /dev/null
+++ b/php-enchant-depr.patch
@@ -0,0 +1,38 @@
+--- php-7.2.1/ext/enchant/enchant.c.orig
++++ php-7.2.1/ext/enchant/enchant.c
+@@ -741,7 +741,7 @@
+ for (i = 0; i < n_sugg; i++) {
+ add_next_index_string(sugg, suggs[i]);
+ }
+- enchant_dict_free_suggestions(pdict->pdict, suggs);
++ enchant_dict_free_string_list(pdict->pdict, suggs);
+ }
+
+
+@@ -798,7 +798,7 @@
+ add_next_index_string(return_value, suggs[i]);
+ }
+
+- enchant_dict_free_suggestions(pdict->pdict, suggs);
++ enchant_dict_free_string_list(pdict->pdict, suggs);
+ }
+ }
+ /* }}} */
+@@ -818,7 +818,7 @@
+
+ PHP_ENCHANT_GET_DICT;
+
+- enchant_dict_add_to_personal(pdict->pdict, word, wordlen);
++ enchant_dict_add(pdict->pdict, word, wordlen);
+ }
+ /* }}} */
+
+@@ -856,7 +856,7 @@
+
+ PHP_ENCHANT_GET_DICT;
+
+- RETURN_BOOL(enchant_dict_is_in_session(pdict->pdict, word, wordlen));
++ RETURN_BOOL(enchant_dict_is_added(pdict->pdict, word, wordlen));
+ }
+ /* }}} */
+