enchant2/enchant_aspell.patch
DistroBaker 1343669fac Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/enchant2.git#ee5794b00bb81cc1f34e14810f6d3593bd7d0b04
2020-11-03 11:32:21 +00:00

30 lines
1.5 KiB
Diff

diff -rupN --no-dereference enchant-2.2.13/configure.ac enchant-2.2.13-new/configure.ac
--- enchant-2.2.13/configure.ac 2020-11-02 22:52:28.000000000 +0100
+++ enchant-2.2.13-new/configure.ac 2020-11-03 12:07:26.995286620 +0100
@@ -210,7 +210,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.13/providers/Makefile.am enchant-2.2.13-new/providers/Makefile.am
--- enchant-2.2.13/providers/Makefile.am 2020-02-27 14:05:18.000000000 +0100
+++ enchant-2.2.13-new/providers/Makefile.am 2020-11-03 12:07:26.995286620 +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.13/tests/test.pwl.orig enchant-2.2.13-new/tests/test.pwl.orig
--- enchant-2.2.13/tests/test.pwl.orig 2017-02-04 18:34:34.000000000 +0100
+++ enchant-2.2.13-new/tests/test.pwl.orig 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-hello
-tag