Author: Andreas Tille <tille@debian.org>
Last-Update: Sun, 28 Jul 2019 15:37:29 +0200
Forwarded: not-needed
Description: Use Debian packaged libhunspell
 This patch works with a code copy of Debian packaged csutil.hxx
 since this header file is missing in libhunspell-dev.
 .
 Use use_debian_packaged_libhunspell.patch_csutil.hxx instead
 once the header file is included into the library package.

--- a/src/Makevars
+++ b/src/Makevars
@@ -1,16 +1,14 @@
-PKG_CPPFLAGS=-I. -Ihunspell -DBUILDING_LIBHUNSPELL
+PKG_CPPFLAGS=-I. -I/usr/include/hunspell -DBUILDING_LIBHUNSPELL
 PKG_CXXFLAGS=$(C_VISIBILITY)
 CXX_STD=CXX11
 
-#Add Windows-only flags (ifeq is a GNU extension...)
-WINRICONV=$(subst 64,-lRiconv,$(subst 32,64,$(WIN)))
-PKG_LIBS=-Lhunspell -lstathunspell $(WINRICONV)
+PKG_LIBS=-lhunspell -L./hunspell -lstathunspell
 
 LIBHUNSPELL=parsers/textparser.o parsers/latexparser.o parsers/manparser.o \
-	parsers/xmlparser.o parsers/htmlparser.o \
-  hunspell/affentry.o hunspell/affixmgr.o hunspell/filemgr.o \
-  hunspell/hashmgr.o hunspell/hunspell.o hunspell/hunzip.o hunspell/phonet.o \
-  hunspell/replist.o hunspell/suggestmgr.o hunspell/csutil.o
+	parsers/xmlparser.o parsers/htmlparser.o
+#  hunspell/affentry.o hunspell/affixmgr.o hunspell/filemgr.o \
+#  hunspell/hashmgr.o hunspell/hunspell.o hunspell/hunzip.o hunspell/phonet.o \
+#  hunspell/replist.o hunspell/suggestmgr.o hunspell/csutil.o
 
 #all: clean
 
