enchant2/enchant_aspell.patch

24 lines
1.1 KiB
Diff
Raw Normal View History

2019-06-18 07:53:31 +00:00
diff -rupN enchant-2.2.4/configure.ac enchant-2.2.4-new/configure.ac
--- enchant-2.2.4/configure.ac 2019-06-17 19:43:56.000000000 +0200
+++ enchant-2.2.4-new/configure.ac 2019-06-18 09:47:01.726766653 +0200
@@ -269,7 +269,7 @@ build_providers=
dnl Standard providers
ENCHANT_CHECK_PKG_CONFIG_PROVIDER([hunspell], [HUNSPELL])
-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
2019-06-18 07:53:31 +00:00
diff -rupN enchant-2.2.4/providers/Makefile.am enchant-2.2.4-new/providers/Makefile.am
--- enchant-2.2.4/providers/Makefile.am 2017-12-12 13:22:28.000000000 +0100
+++ enchant-2.2.4-new/providers/Makefile.am 2019-06-18 09:47:01.726766653 +0200
@@ -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