]> git.pld-linux.org Git - packages/enchant.git/commitdiff
drop applespell logic to avoid libtool confusion master
authorJan Palus <atler@pld-linux.org>
Sat, 1 Apr 2023 22:04:49 +0000 (00:04 +0200)
committerJan Palus <atler@pld-linux.org>
Sat, 1 Apr 2023 22:04:49 +0000 (00:04 +0200)
with both c and obj-c sources within single library autotools fail to
decide on proper --tag= during linking and ultimately none is added
resulting in an error. clear things up by dropping applespell logic
never activated on linux anyway.

disable-applespell.patch [new file with mode: 0644]
enchant.spec

diff --git a/disable-applespell.patch b/disable-applespell.patch
new file mode 100644 (file)
index 0000000..2b3e466
--- /dev/null
@@ -0,0 +1,17 @@
+--- enchant-1.6.1/src/Makefile.am.orig 2017-04-04 23:13:57.000000000 +0200
++++ enchant-1.6.1/src/Makefile.am      2023-04-02 00:02:38.807237432 +0200
+@@ -19,14 +19,6 @@
+ libenchant_includedir = $(includedir)/enchant
+ libenchant_include_HEADERS = enchant.h enchant-provider.h enchant++.h
+-if WITH_APPLESPELL
+-AM_CPPFLAGS += @APPLESPELL_CFLAGS@
+-libenchant_la_LIBADD += @APPLESPELL_LIBS@
+-libenchant_la_LDFLAGS += @APPLESPELL_LDFLAGS@
+-libenchant_la_SOURCES += enchant_cocoa.m enchant_cocoa.h
+-libenchant_include_HEADERS += enchant_cocoa.h
+-endif
+-
+ EXTRA_DIST=enchant.i
+ if OS_WIN32
index 8265a1cf52f894b3577725f6eb399f2c1f5d40f8..41fb1e684b61307475540c0736009f03c8f28c0e 100644 (file)
@@ -18,6 +18,7 @@ Source0:      https://github.com/AbiWord/enchant/releases/download/enchant-1-6-1/%{na
 # Source0-md5: 4110afe7d7010acbb5c69dd1214fa936
 Patch0:                hunspell-1.4.patch
 Patch1:                %{name}-sh.patch
+Patch2:                disable-applespell.patch
 URL:           https://www.abisource.com/projects/enchant/
 BuildRequires: aspell-devel >= 2:0.50.0
 BuildRequires: autoconf >= 2.50
@@ -198,6 +199,7 @@ Moduł obsługujący backend zemberek (turecki) dla Enchanta.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__libtoolize}
This page took 0.138854 seconds and 4 git commands to generate.