From a978c074e4272bb901fbe4a10de0a7b2af574f17 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 4 May 2021 22:28:33 +0100 Subject: gentoo resync : 04.05.2021 --- ...xmlcopyeditor-1.3.0.0-no-automagic-enchant.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app-editors/xmlcopyeditor/files/xmlcopyeditor-1.3.0.0-no-automagic-enchant.patch (limited to 'app-editors/xmlcopyeditor/files') diff --git a/app-editors/xmlcopyeditor/files/xmlcopyeditor-1.3.0.0-no-automagic-enchant.patch b/app-editors/xmlcopyeditor/files/xmlcopyeditor-1.3.0.0-no-automagic-enchant.patch new file mode 100644 index 000000000000..e07b90c5eafe --- /dev/null +++ b/app-editors/xmlcopyeditor/files/xmlcopyeditor-1.3.0.0-no-automagic-enchant.patch @@ -0,0 +1,21 @@ +diff --git a/configure.ac b/configure.ac +index 30bdf60..034bb26 100755 +--- a/configure.ac ++++ b/configure.ac +@@ -105,13 +105,9 @@ AC_LANG(C++) + AC_CHECK_HEADER(expat.h, , + AC_MSG_ERROR([Expat headers not found])) + +-# Check enchant is available +-PKG_CHECK_MODULES(ENCHANT, [enchant], [CXXFLAGS="$CXXFLAGS -DUSE_ENCHANT"], +- # otherwise Check ASPELL is available +- [AC_CHECK_HEADER(aspell.h, [ASPELL_LIBS="-laspell"], +- AC_MSG_ERROR([Aspell headers not found]))] +-) +- ++# Check Aspell is available ++AC_CHECK_HEADER(aspell.h, [ASPELL_LIBS="-laspell"], ++ AC_MSG_ERROR([Aspell headers not found])) + AC_SUBST(ASPELL_LIBS) + + AC_MSG_CHECKING([the GTK version to use]) -- cgit v1.2.3