summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2018-12-25 03:57:54 -0600
committerTim Harder <radhermit@gentoo.org>2018-12-25 13:27:57 -0600
commit9370de79a22dfebe5abc0432dc6079efe6d612eb (patch)
treee6b4ef561d6ae86f443dea5278fb5f1c6592fc88 /mail-client/cone/files
parentmail-client/cone: use https for HOMEPAGE (diff)
downloadgentoo-9370de79a22dfebe5abc0432dc6079efe6d612eb.tar.gz
gentoo-9370de79a22dfebe5abc0432dc6079efe6d612eb.tar.bz2
gentoo-9370de79a22dfebe5abc0432dc6079efe6d612eb.zip
mail-client/cone: version bump to 1.0
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'mail-client/cone/files')
-rw-r--r--mail-client/cone/files/cone-1.0-no-spelling.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/mail-client/cone/files/cone-1.0-no-spelling.patch b/mail-client/cone/files/cone-1.0-no-spelling.patch
new file mode 100644
index 000000000000..b8985b2a3c51
--- /dev/null
+++ b/mail-client/cone/files/cone-1.0-no-spelling.patch
@@ -0,0 +1,46 @@
+Allow spellchecking support to be disabled.
+
+--- cone-1.0/cone/configure.ac
++++ cone-1.0/cone/configure.ac
+@@ -183,8 +183,10 @@
+ ALLSPELLOBJ='spellcheckerPspell.$(OBJEXT)'" $ALLSPELLOBJ"
+ fi
+
+-AC_ARG_WITH(spellcheck, [ --with-spellcheck=pspell Use pspell for spell checking
+- --with-spellcheck=aspell Use aspell for spell checking], [
++AC_ARG_WITH(spellcheck, [
++ --with-spellcheck=pspell Use pspell for spell checking
++ --with-spellcheck=aspell Use aspell for spell checking
++ --with-spellcheck=none Disable spell checking], [
+
+ case "$withval" in
+ pspell)
+@@ -200,6 +202,10 @@
+ AC_MSG_ERROR(aspell library not found)
+ fi
+ ;;
++none)
++ PSPELL="none"
++ ASPELL="none"
++ ;;
+ *)
+ AC_MSG_ERROR(Invalid --with-spellcheck option)
+ ;;
+@@ -232,10 +238,13 @@
+ SPELL_OBJ='spellcheckerPspell.$(OBJEXT)'
+ SPELL_LIB='-lpspell'
+ else
+- AC_MSG_WARN(---------------------------------------------------------------)
+- AC_MSG_WARN(Neither pspell nor aspell was found -- disabling spell checking)
+- AC_MSG_WARN(---------------------------------------------------------------)
+- sleep 5
++ if test "$ASPELL" != "none" && test "$PSPELL" != "none"
++ then
++ AC_MSG_WARN(---------------------------------------------------------------)
++ AC_MSG_WARN(Neither pspell nor aspell was found -- disabling spell checking)
++ AC_MSG_WARN(---------------------------------------------------------------)
++ sleep 5
++ fi
+ SPELL_OBJ='spellcheckerNone.$(OBJEXT)'
+ SPELL_LIB=''
+ fi