summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2021-05-03 14:51:34 +0200
committerSebastian Pipping <sping@gentoo.org>2021-05-03 14:51:34 +0200
commitb814af80a2efe47e32ca892ed039aeb8c1bcd553 (patch)
tree8f39c1153d2649c4fa42e26fac5855cc12378758 /app-editors/xmlcopyeditor/files
parentnet-misc/openssh: remove unused patch (diff)
downloadgentoo-b814af80a2efe47e32ca892ed039aeb8c1bcd553.tar.gz
gentoo-b814af80a2efe47e32ca892ed039aeb8c1bcd553.tar.bz2
gentoo-b814af80a2efe47e32ca892ed039aeb8c1bcd553.zip
app-editors/xmlcopyeditor: 1.3.0.0
Closes: https://bugs.gentoo.org/733764 Closes: https://bugs.gentoo.org/769638 Signed-off-by: Sebastian Pipping <sping@gentoo.org> Package-Manager: Portage-3.0.18, Repoman-3.0.3
Diffstat (limited to 'app-editors/xmlcopyeditor/files')
-rw-r--r--app-editors/xmlcopyeditor/files/xmlcopyeditor-1.3.0.0-no-automagic-enchant.patch21
1 files changed, 21 insertions, 0 deletions
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])