summaryrefslogtreecommitdiff
path: root/mail/mutt-devel/files
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-02-14 10:08:16 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-02-14 10:08:16 +0000
commitab11eb64c5eac2792876b09757aadbcefa6b2fd8 (patch)
treea609f4cb1d5c3b289cb3fe8d47ebd0631e531c8d /mail/mutt-devel/files
parent- Update to 0.9.0 (diff)
Update to version 1.5.8
PR: ports/77484 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=128763
Diffstat (limited to 'mail/mutt-devel/files')
-rw-r--r--mail/mutt-devel/files/extra-patch-edit-threads18
-rw-r--r--mail/mutt-devel/files/extra-patch-maildir-header-cache44
-rw-r--r--mail/mutt-devel/files/patch-Makefile.am24
-rw-r--r--mail/mutt-devel/files/patch-pgp.c11
-rw-r--r--mail/mutt-devel/files/patch-threadcomplete16
5 files changed, 22 insertions, 91 deletions
diff --git a/mail/mutt-devel/files/extra-patch-edit-threads b/mail/mutt-devel/files/extra-patch-edit-threads
index 4007238333da..34f9a78e9c57 100644
--- a/mail/mutt-devel/files/extra-patch-edit-threads
+++ b/mail/mutt-devel/files/extra-patch-edit-threads
@@ -17,17 +17,6 @@ diff -ru work.old/mutt-1.5.6/OPS work/mutt-1.5.6/OPS
OP_MAIN_NEXT_NEW "jump to the next new message"
OP_MAIN_NEXT_NEW_THEN_UNREAD "jump to the next new or unread message"
OP_MAIN_NEXT_SUBTHREAD "jump to the next subthread"
-diff -ru work.old/mutt-1.5.6/acconfig.h work/mutt-1.5.6/acconfig.h
---- acconfig.h Tue Jan 21 11:50:49 2003
-+++ acconfig.h Tue Feb 10 14:40:41 2004
-@@ -36,3 +36,7 @@
- * all return values other than (size_t)(-1) as equivalent. */
- #undef ICONV_NONTRANS
-
-+/* Do you want to use the rethreading functions with IMAP
-+ * (--enable-imap-edit-threads) */
-+#undef IMAP_EDIT_THREADS
-+
diff -ru work.old/mutt-1.5.6/config.h.in work/mutt-1.5.6/config.h.in
--- config.h.in Sun Feb 1 18:18:21 2004
+++ config.h.in Tue Feb 10 14:40:41 2004
@@ -39,6 +28,13 @@ diff -ru work.old/mutt-1.5.6/config.h.in work/mutt-1.5.6/config.h.in
+ * (--enable-imap-edit-threads) */
+#undef IMAP_EDIT_THREADS
+
+--- /dev/null Sun Feb 13 11:16:10 2005
++++ acconfig.h Sun Feb 13 11:15:44 2005
+@@ -0,0 +1,4 @@
++/* Do you want to use the rethreading functions with IMAP
++ * (--enable-imap-edit-threads) */
++#undef IMAP_EDIT_THREADS
++
diff -ru work.old/mutt-1.5.6/configure work/mutt-1.5.6/configure
--- configure Sun Feb 1 19:22:06 2004
+++ configure Tue Feb 10 14:40:41 2004
diff --git a/mail/mutt-devel/files/extra-patch-maildir-header-cache b/mail/mutt-devel/files/extra-patch-maildir-header-cache
index 40df28ed3937..be2b5e998038 100644
--- a/mail/mutt-devel/files/extra-patch-maildir-header-cache
+++ b/mail/mutt-devel/files/extra-patch-maildir-header-cache
@@ -2,40 +2,10 @@ diff -Nru a/PATCHES b/PATCHES
--- a/PATCHES
+++ b/PATCHES
@@ -0,0 +1 @@
-+patch-1.5.7.tg.hcache.1
-diff -Nru a/hcache.c b/hcache.c
---- a/hcache.c 2005-02-03 21:24:02 +01:00
-+++ b/hcache.c 2005-02-03 21:49:22 +01:00
-@@ -662,7 +662,7 @@
- safe_strcat (path, sizeof (path), filename);
-
- key.dptr = path;
-- key.dsize = keylen(path);
-+ key.dsize = strlen(h->folder) + keylen(path + strlen(h->folder));
-
- data = gdbm_fetch(h->db, key);
-
-@@ -691,7 +691,7 @@
- safe_strcat (path, sizeof (path), filename);
-
- key.dptr = path;
-- key.dsize = keylen(path);
-+ key.dsize = strlen(h->folder) + keylen(path + strlen(h->folder));
-
- data.dptr = mutt_hcache_dump(db, header, &data.dsize, uid_validity);
-
-@@ -717,7 +717,7 @@
- safe_strcat (path, sizeof (path), filename);
-
- key.dptr = path;
-- key.dsize = keylen(path);
-+ key.dsize = strlen(h->folder) + keylen(path + strlen(h->folder));
-
- return gdbm_delete(h->db, key);
- }
++mutt-cvs-header-cache.28
diff -Nru a/init.h b/init.h
---- a/init.h 2005-01-27 19:54:12 +01:00
-+++ b/init.h 2005-02-03 21:33:16 +01:00
+--- a/init.h 2005-01-27 20:54:24 +01:00
++++ b/init.h 2005-01-28 15:12:41 +01:00
@@ -1032,6 +1032,13 @@
** global header cache for all folders is used. Per default it is unset and so
** no header caching will be used.
@@ -51,8 +21,8 @@ diff -Nru a/init.h b/init.h
/*
** .pp
diff -Nru a/mh.c b/mh.c
---- a/mh.c 2005-01-27 19:48:04 +01:00
-+++ b/mh.c 2005-02-03 21:35:59 +01:00
+--- a/mh.c 2005-01-27 20:45:37 +01:00
++++ b/mh.c 2005-02-03 09:09:50 +01:00
@@ -787,6 +787,14 @@
return r;
}
@@ -223,8 +193,8 @@ diff -Nru a/mh.c b/mh.c
static char *maildir_canon_filename (char *dest, const char *src, size_t l)
diff -Nru a/mutt.h b/mutt.h
---- a/mutt.h 2005-01-27 19:53:51 +01:00
-+++ b/mutt.h 2005-02-03 21:32:14 +01:00
+--- a/mutt.h 2005-01-27 20:54:24 +01:00
++++ b/mutt.h 2005-01-28 15:12:54 +01:00
@@ -353,6 +353,9 @@
OPTFORCENAME,
OPTFORWDECODE,
diff --git a/mail/mutt-devel/files/patch-Makefile.am b/mail/mutt-devel/files/patch-Makefile.am
deleted file mode 100644
index 17576eefbe38..000000000000
--- a/mail/mutt-devel/files/patch-Makefile.am
+++ /dev/null
@@ -1,24 +0,0 @@
---- Makefile.am.orig Thu Feb 7 10:14:11 2002
-+++ Makefile.am Sun May 5 11:34:05 2002
-@@ -3,6 +3,7 @@
-
- AUTOMAKE_OPTIONS = foreign
- EXTRA_PROGRAMS = mutt_dotlock pgpring makedoc
-+EXTRA_SCRIPTS =
-
- if BUILD_IMAP
- IMAP_SUBDIR = imap
-@@ -11,11 +12,11 @@
-
- SUBDIRS = m4 po intl doc contrib $(IMAP_SUBDIR)
-
--bin_SCRIPTS = muttbug flea
-+bin_SCRIPTS = muttbug flea @SMIMEAUX_TARGET@
-
- BUILT_SOURCES = keymap_defs.h patchlist.c
-
--bin_PROGRAMS = mutt @DOTLOCK_TARGET@ @PGPAUX_TARGET@ @SMIMEAUX_TARGET@
-+bin_PROGRAMS = mutt @DOTLOCK_TARGET@ @PGPAUX_TARGET@
- mutt_SOURCES = $(BUILT_SOURCES) \
- addrbook.c alias.c attach.c base64.c browser.c buffy.c color.c \
- commands.c complete.c compose.c copy.c curs_lib.c curs_main.c date.c \
diff --git a/mail/mutt-devel/files/patch-pgp.c b/mail/mutt-devel/files/patch-pgp.c
deleted file mode 100644
index 216e21578bbc..000000000000
--- a/mail/mutt-devel/files/patch-pgp.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- pgp.c.orig Thu Jan 27 21:30:04 2005
-+++ pgp.c Fri Feb 4 13:14:04 2005
-@@ -209,7 +209,7 @@
- if (armor_header)
- {
- char *p = mutt_skip_whitespace (buf);
-- if (*p == '\n')
-+ if (*p == '\0')
- armor_header = 0;
- continue;
- }
diff --git a/mail/mutt-devel/files/patch-threadcomplete b/mail/mutt-devel/files/patch-threadcomplete
index 235165ffdd43..6034ece2bd99 100644
--- a/mail/mutt-devel/files/patch-threadcomplete
+++ b/mail/mutt-devel/files/patch-threadcomplete
@@ -138,9 +138,9 @@ diff -Nru a/pattern.c b/pattern.c
/* actions for mutt_pattern_comp/mutt_pattern_exec */
M_AND,
---- pattern.c.orig2 Mon Sep 6 09:24:10 2004
-+++ pattern.c Mon Sep 6 09:30:02 2004
-@@ -44,6 +44,7 @@
+--- pattern.c.orig2 Sun Feb 13 09:05:57 2005
++++ pattern.c Sun Feb 13 09:08:06 2005
+@@ -48,6 +48,7 @@
}
Flags[] =
{
@@ -148,10 +148,10 @@ diff -Nru a/pattern.c b/pattern.c
{ 'A', M_ALL, 0, NULL },
{ 'b', M_BODY, M_FULL_MSG, eat_regexp },
{ 'B', M_WHOLE_MSG, M_FULL_MSG, eat_regexp },
-@@ -1024,6 +1083,16 @@
- pat->alladdr, 2, h->env->to, h->env->cc));
+@@ -1085,6 +1086,16 @@
+ pat->alladdr, 2, h->env->to, h->env->cc)));
case M_LIST:
- return (pat->not ^ mutt_is_list_recipient (pat->alladdr, h->env->to, h->env->cc));
+ return (pat->not ^ (h->env && mutt_is_list_recipient (pat->alladdr, h->env->to, h->env->cc)));
+ case M_THREADCOMPLETE:
+ { static pattern_t tmp;
+ static short pattern_set = 0;
@@ -160,8 +160,8 @@ diff -Nru a/pattern.c b/pattern.c
+ tmp.op = M_TAG;
+ pattern_set = 1;
+ }
-+ return (pat->not ^ match_threadcomplete(&tmp, flags, ctx, h->thread, 1, 1, 1, 1));
++ return (pat->not ^ (h->env && match_threadcomplete(&tmp, flags, ctx, h->thread, 1, 1, 1, 1)));
+ }
case M_PERSONAL_RECIP:
- return (pat->not ^ match_user (pat->alladdr, h->env->to, h->env->cc));
+ return (pat->not ^ (h->env && match_user (pat->alladdr, h->env->to, h->env->cc)));
case M_PERSONAL_FROM: