aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-04-11 00:35:18 +0800
committernork <nork@FreeBSD.org>2003-04-11 00:35:18 +0800
commit1dcefc7d52894118e50cf4942f2ea89d9f18295c (patch)
tree2d929107dab3344f1ba1dd2c3fbb1f112d8fc9bf /mail
parent88736bc2a61d0fbbdcf3e32123e652f27b5c6cc0 (diff)
downloadfreebsd-ports-gnome-1dcefc7d52894118e50cf4942f2ea89d9f18295c.tar.gz
freebsd-ports-gnome-1dcefc7d52894118e50cf4942f2ea89d9f18295c.tar.zst
freebsd-ports-gnome-1dcefc7d52894118e50cf4942f2ea89d9f18295c.zip
o Fix a segmentation fault.
o Enable WITH_MUTT_SLANG when PACKAGE_BUILDING (so mutt-devel behaves like mutt). This is safe, since slang has decent defaults now. PR: ports/540787 Submitted by: Udo Schweigert <udo.schweigert@siemens.com> (maintainer)
Diffstat (limited to 'mail')
-rw-r--r--mail/mutt-devel/Makefile6
-rw-r--r--mail/mutt-devel/files/patch-thread.c11
2 files changed, 13 insertions, 4 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index d54721499a84..b444c359a484 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -20,9 +20,7 @@
# The two most important knobs are:
#
# In general you can choose between using the SLANG port (WITH_MUTT_SLANG)
-# and ncurses (WITH_MUTT_NCURSES) which is the default. Note that you may
-# have to set the variables COLORTERM=yes and COLORFGBG=color,color in your
-# environment to get slang function properly.
+# and ncurses (WITH_MUTT_NCURSES) which is the default.
#
# If you want to install the mutt documentation in html and ps format define:
# WITH_MUTT_HTML
@@ -130,7 +128,7 @@ pre-build:
.if defined(PACKAGE_BUILDING)
WITH_MUTT_SSL= yes
-WITH_MUTT_NCURSES= yes
+WITH_MUTT_SLANG= yes
WITH_MUTT_HTML= yes
WITH_MUTT_COMPRESSED_FOLDERS= yes
WITH_MUTT_QUOTE_PATCH= yes
diff --git a/mail/mutt-devel/files/patch-thread.c b/mail/mutt-devel/files/patch-thread.c
new file mode 100644
index 000000000000..7f231f62589f
--- /dev/null
+++ b/mail/mutt-devel/files/patch-thread.c
@@ -0,0 +1,11 @@
+--- thread.c.orig Tue Jan 21 13:25:22 2003
++++ thread.c Thu Apr 10 17:59:05 2003
+@@ -1272,7 +1272,7 @@
+ THREAD *threads[2];
+ int i, rc;
+
+- if ((Sort & SORT_MASK) != SORT_THREADS)
++ if ((Sort & SORT_MASK) != SORT_THREADS || !hdr->thread)
+ return (1);
+
+ threads[0] = hdr->thread;