From a6255ca08d1f07063b07e72702ee211048e04554 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Wed, 3 Oct 2018 01:41:26 -0300 Subject: [PATCH] gtkspell3: update to 3.0.10. --- srcpkgs/gtkspell3/patches/enchant-2.patch | 25 ----------------------- srcpkgs/gtkspell3/template | 10 +++------ 2 files changed, 3 insertions(+), 32 deletions(-) delete mode 100644 srcpkgs/gtkspell3/patches/enchant-2.patch diff --git a/srcpkgs/gtkspell3/patches/enchant-2.patch b/srcpkgs/gtkspell3/patches/enchant-2.patch deleted file mode 100644 index 887f1c70b59..00000000000 --- a/srcpkgs/gtkspell3/patches/enchant-2.patch +++ /dev/null @@ -1,25 +0,0 @@ -Source: Arch Linux -Upstream: Unknown -Reason: Allows compilation with enchant-2 - ---- gtkspell/gtkspell.c -+++ gtkspell/gtkspell.c -@@ -353,7 +353,7 @@ - get_word_extents_from_mark (spell->priv->buffer, &start, &end, spell->priv->mark_click); - word = gtk_text_buffer_get_text (spell->priv->buffer, &start, &end, FALSE); - -- enchant_dict_add_to_pwl (spell->priv->speller, word, strlen (word)); -+ enchant_dict_add (spell->priv->speller, word, strlen (word)); - - gtk_spell_checker_recheck_all (spell); - -@@ -1246,7 +1246,7 @@ - void - gtk_spell_checker_add_to_dictionary (GtkSpellChecker *spell, const gchar *word) - { -- enchant_dict_add_to_pwl (spell->priv->speller, word, strlen (word)); -+ enchant_dict_add (spell->priv->speller, word, strlen (word)); - gtk_spell_checker_recheck_all (spell); - } - - diff --git a/srcpkgs/gtkspell3/template b/srcpkgs/gtkspell3/template index 3787feb32ef..cbcdbd640c8 100644 --- a/srcpkgs/gtkspell3/template +++ b/srcpkgs/gtkspell3/template @@ -1,7 +1,7 @@ # Template file for 'gtkspell3' pkgname=gtkspell3 -version=3.0.9 -revision=4 +version=3.0.10 +revision=1 build_options="gir" build_style=gnu-configure configure_args="--disable-silent-rules" @@ -13,11 +13,7 @@ maintainer="beefcurtains " license="GPL-2.0-or-later" homepage="http://${pkgname}.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/${pkgname::-1}/${version}/${pkgname}-${version}.tar.xz" -checksum=a4f4a4a2789f7499563e26d96b22d8085222ebe278da47d026b2de782b8b4d26 - -pre_configure() { - sed -i 's|enchant|enchant-2|g' configure -} +checksum=b040f63836b347eb344f5542443dc254621805072f7141d49c067ecb5a375732 # Enable gir and vala for non-cross builds if [ -z "$CROSS_BUILD" ]; then