From 936910452c3f3665fde6973747ba35bfbc268f89 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 29 Apr 2020 14:01:18 +0200 Subject: import from Fedora --- enchant_aspell.patch | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 enchant_aspell.patch (limited to 'enchant_aspell.patch') diff --git a/enchant_aspell.patch b/enchant_aspell.patch new file mode 100644 index 0000000..7d224fc --- /dev/null +++ b/enchant_aspell.patch @@ -0,0 +1,29 @@ +diff -rupN --no-dereference enchant-2.2.8/configure.ac enchant-2.2.8-new/configure.ac +--- enchant-2.2.8/configure.ac 2020-02-27 16:32:32.000000000 +0100 ++++ enchant-2.2.8-new/configure.ac 2020-03-02 10:54:46.624164372 +0100 +@@ -212,7 +212,7 @@ build_providers= + dnl Standard providers + ENCHANT_CHECK_PKG_CONFIG_PROVIDER([hunspell], [HUNSPELL]) + ENCHANT_CHECK_PKG_CONFIG_PROVIDER([nuspell], [NUSPELL]) +-ENCHANT_CHECK_LIB_PROVIDER([aspell], [ASPELL], [get_aspell_dict_info_list]) ++ENCHANT_CHECK_PKG_CONFIG_PROVIDER([aspell], [ASPELL]) + ENCHANT_CHECK_LIB_PROVIDER([hspell], [HSPELL], [hspell_get_dictionary_path],, [-lz]) + ENCHANT_CHECK_PKG_CONFIG_PROVIDER([voikko], [VOIKKO], [libvoikko]) + dnl FIXME: The test below assumes GCC(-compatible) ObjC++ compiler, but +diff -rupN --no-dereference enchant-2.2.8/providers/Makefile.am enchant-2.2.8-new/providers/Makefile.am +--- enchant-2.2.8/providers/Makefile.am 2020-02-27 14:05:18.000000000 +0100 ++++ enchant-2.2.8-new/providers/Makefile.am 2020-03-02 10:54:46.624164372 +0100 +@@ -12,6 +12,7 @@ AM_LDFLAGS = -module -avoid-version -no- + if WITH_ASPELL + provider_LTLIBRARIES += enchant_aspell.la + endif ++enchant_aspell_la_LIBADD = $(ASPELL_LIBS) + + if WITH_HSPELL + provider_LTLIBRARIES += enchant_hspell.la +diff -rupN --no-dereference enchant-2.2.8/tests/test.pwl.orig enchant-2.2.8-new/tests/test.pwl.orig +--- enchant-2.2.8/tests/test.pwl.orig 2017-02-04 18:34:34.000000000 +0100 ++++ enchant-2.2.8-new/tests/test.pwl.orig 1970-01-01 01:00:00.000000000 +0100 +@@ -1,2 +0,0 @@ +-hello +-tag -- cgit