enchant2/enchant_aspell.patch

30 lines
1.5 KiB
Diff
Raw Normal View History

2021-06-15 09:25:46 +00:00
diff -rupN --no-dereference enchant-2.3.0/configure.ac enchant-2.3.0-new/configure.ac
--- enchant-2.3.0/configure.ac 2021-06-14 23:04:33.000000000 +0200
+++ enchant-2.3.0-new/configure.ac 2021-06-15 11:06:56.144174064 +0200
2020-09-08 08:54:18 +00:00
@@ -210,7 +210,7 @@ build_providers=
dnl Standard providers
ENCHANT_CHECK_PKG_CONFIG_PROVIDER([hunspell], [HUNSPELL])
2020-12-23 00:59:09 +00:00
ENCHANT_CHECK_PKG_CONFIG_PROVIDER([nuspell], [NUSPELL], [nuspell >= 4.1.0])
-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
2021-06-15 09:25:46 +00:00
diff -rupN --no-dereference enchant-2.3.0/providers/Makefile.am enchant-2.3.0-new/providers/Makefile.am
--- enchant-2.3.0/providers/Makefile.am 2020-10-16 11:51:01.000000000 +0200
+++ enchant-2.3.0-new/providers/Makefile.am 2021-06-15 11:06:56.144174064 +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
2021-06-15 09:25:46 +00:00
diff -rupN --no-dereference enchant-2.3.0/tests/test.pwl.orig enchant-2.3.0-new/tests/test.pwl.orig
--- enchant-2.3.0/tests/test.pwl.orig 2017-02-04 18:34:34.000000000 +0100
+++ enchant-2.3.0-new/tests/test.pwl.orig 1970-01-01 01:00:00.000000000 +0100
2019-06-28 11:00:21 +00:00
@@ -1,2 +0,0 @@
-hello
-tag