summaryrefslogtreecommitdiffstats
path: root/source/l/gtkspell/gtkspell.enchant-2.diff
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2021-06-30 03:45:31 +0000
committer Eric Hameleers <alien@slackware.com>2021-06-30 08:59:54 +0200
commitc01ee3e65304c6ff4a85a5f74ea1aed6a315a2da (patch)
tree450f1724529854c2579a0cac972d14ce2ca03d87 /source/l/gtkspell/gtkspell.enchant-2.diff
parent498a5695df7a6462ec45da8ac03906633b598ac6 (diff)
downloadcurrent-c01ee3e65304c6ff4a85a5f74ea1aed6a315a2da.tar.gz
current-c01ee3e65304c6ff4a85a5f74ea1aed6a315a2da.tar.xz
Wed Jun 30 03:45:31 UTC 202120210630034531
a/kernel-firmware-20210629_d79c267-noarch-1.txz: Upgraded. ap/cups-2.3.3op2-x86_64-1.txz: Upgraded. kde/lokalize-21.04.2-x86_64-2.txz: Rebuilt. Recompiled against hunspell-1.7.0. kde/sonnet-5.83.0-x86_64-2.txz: Rebuilt. Recompiled against hunspell-1.7.0. l/enchant-2.3.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. l/gtkspell-2.0.16-x86_64-7.txz: Rebuilt. Recompiled against enchant-2.3.0. l/hunspell-1.7.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. l/python-urllib3-1.26.6-x86_64-2.txz: Rebuilt. Don't build python2 version. l/python2-module-collection-2.7.18-x86_64-4.txz: Rebuilt. Upgraded to urllib3-1.25.11 for compatibility with requests. Thanks to USUARIONUEVO. l/qt5-5.15.2-x86_64-10.txz: Rebuilt. Recompiled against hunspell-1.7.0. n/php-7.4.21-x86_64-1.txz: Upgraded. This update fixes bugs and security issues: Core: SSRF bypass in FILTER_VALIDATE_URL. PDO_Firebird: Stack buffer overflow in firebird_info_cb. PDO_Firebird: SIGSEGV in firebird_handle_doer. PDO_Firebird: SIGSEGV in firebird_stmt_execute. PDO_Firebird: Crash while parsing blob data in firebird_fetch_blob. For more information, see: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21705 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21704 (* Security fix *) xap/pan-0.146-x86_64-5.txz: Rebuilt. Recompiled against enchant-2.3.0. extra/php8/php8-8.0.8-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/l/gtkspell/gtkspell.enchant-2.diff')
-rw-r--r--source/l/gtkspell/gtkspell.enchant-2.diff28
1 files changed, 28 insertions, 0 deletions
diff --git a/source/l/gtkspell/gtkspell.enchant-2.diff b/source/l/gtkspell/gtkspell.enchant-2.diff
new file mode 100644
index 000000000..e83595089
--- /dev/null
+++ b/source/l/gtkspell/gtkspell.enchant-2.diff
@@ -0,0 +1,28 @@
+--- ./gtkspell/gtkspell.c.orig 2009-10-09 14:01:47.000000000 -0500
++++ ./gtkspell/gtkspell.c 2021-06-29 14:00:00.570508124 -0500
+@@ -277,7 +277,7 @@
+ get_word_extents_from_mark(spell->buffer, &start, &end, spell->mark_click);
+ word = gtk_text_buffer_get_text(spell->buffer, &start, &end, FALSE);
+
+- enchant_dict_add_to_pwl( spell->speller, word, strlen(word));
++ enchant_dict_add( spell->speller, word, strlen(word));
+
+ gtkspell_recheck_all(spell);
+
+--- ./configure.ac.orig 2009-10-22 21:52:31.000000000 -0500
++++ ./configure.ac 2021-06-29 13:58:26.549513324 -0500
+@@ -12,12 +12,12 @@
+ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
+ AC_CONFIG_HEADERS([config.h])
+
+-SPELLER_LIB=-lenchant
++SPELLER_LIB=-lenchant-2
+
+ AC_SUBST(SPELLER_LIB)
+ GTKSPELL_PACKAGES=gtk+-2.0
+ AC_SUBST(GTKSPELL_PACKAGES)
+-PKG_CHECK_MODULES(GTKSPELL, $GTKSPELL_PACKAGES enchant >= 0.4.0 )
++PKG_CHECK_MODULES(GTKSPELL, $GTKSPELL_PACKAGES enchant-2 >= 2.2.0 )
+ AC_SUBST(GTKSPELL_CFLAGS)
+ AC_SUBST(GTKSPELL_LIBS)
+