From 6b245b2bbede4eeba6e5bc837ded65f36f5e18c0 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 13 Dec 2018 19:42:19 -0200 Subject: [PATCH] pluma: fix enchant plugin. --- srcpkgs/pluma/patches/fix-enchant.patch | 14 ++++++++++++++ srcpkgs/pluma/template | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/pluma/patches/fix-enchant.patch diff --git a/srcpkgs/pluma/patches/fix-enchant.patch b/srcpkgs/pluma/patches/fix-enchant.patch new file mode 100644 index 00000000000..4e78a3bd378 --- /dev/null +++ b/srcpkgs/pluma/patches/fix-enchant.patch @@ -0,0 +1,14 @@ +diff --git a/plugins/spell/pluma-spell-checker.c b/plugins/spell/pluma-spell-checker.c +index d33bf92..9f2bde3 100644 +--- plugins/spell/pluma-spell-checker.c ++++ plugins/spell/pluma-spell-checker.c +@@ -433,7 +433,7 @@ pluma_spell_checker_add_word_to_personal (PlumaSpellChecker *spell, + if (len < 0) + len = strlen (word); + +- enchant_dict_add_to_pwl (spell->dict, word, len); ++ enchant_dict_add (spell->dict, word, len); + + g_signal_emit (G_OBJECT (spell), signals[ADD_WORD_TO_PERSONAL], 0, word, len); + + diff --git a/srcpkgs/pluma/template b/srcpkgs/pluma/template index 5c7451d2e99..d947a302850 100644 --- a/srcpkgs/pluma/template +++ b/srcpkgs/pluma/template @@ -1,7 +1,7 @@ # Template file for 'pluma' pkgname=pluma version=1.20.3 -revision=1 +revision=2 build_style=gnu-configure pycompile_dirs="usr/lib/pluma/plugins" hostmakedepends="gobject-introspection mate-common @@ -28,5 +28,6 @@ pluma-devel_package() { vmove usr/include vmove usr/lib/pkgconfig vmove usr/share/gtk-doc + vmove usr/share/gir-1.0 } }