slackware-current/source/l/gtkspell/gtkspell.enchant-2.diff
Patrick J Volkerding c01ee3e653 Wed Jun 30 03:45:31 UTC 2021
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.
2021-06-30 08:59:54 +02:00

28 lines
1,006 B
Diff

--- ./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)