diff options
Diffstat (limited to 'mail/mutt-devel/patches')
-rw-r--r-- | mail/mutt-devel/patches/patch-an | 8 | ||||
-rw-r--r-- | mail/mutt-devel/patches/patch-aq | 29 |
2 files changed, 4 insertions, 33 deletions
diff --git a/mail/mutt-devel/patches/patch-an b/mail/mutt-devel/patches/patch-an index 4a78b9e5bfb..1931358dbbe 100644 --- a/mail/mutt-devel/patches/patch-an +++ b/mail/mutt-devel/patches/patch-an @@ -1,10 +1,10 @@ -$NetBSD: patch-an,v 1.3 2009/01/26 22:35:03 tonio Exp $ +$NetBSD: patch-an,v 1.4 2009/07/16 20:23:41 tonio Exp $ Add change_folder_next option. ---- init.h.orig 2009-01-05 20:20:53.000000000 +0100 +--- init.h.orig 2009-06-13 23:35:21.000000000 +0200 +++ init.h -@@ -341,6 +341,13 @@ struct option_t MuttVars[] = { +@@ -355,6 +355,13 @@ struct option_t MuttVars[] = { ** \fBNote:\fP It should only be set in case Mutt isn't abled to determine the ** character set used correctly. */ @@ -15,6 +15,6 @@ Add change_folder_next option. + ** next folder after the current folder in your mailbox list instead of + ** starting at the first folder. + */ - { "check_new", DT_BOOL, R_NONE, OPTCHECKNEW, 1 }, + { "check_mbox_size", DT_BOOL, R_NONE, OPTCHECKMBOXSIZE, 0 }, /* ** .pp diff --git a/mail/mutt-devel/patches/patch-aq b/mail/mutt-devel/patches/patch-aq deleted file mode 100644 index 9663d13af03..00000000000 --- a/mail/mutt-devel/patches/patch-aq +++ /dev/null @@ -1,29 +0,0 @@ -$NetBSD: patch-aq,v 1.1 2009/02/05 13:45:28 tonio Exp $ - -Avoid crash with 64bit time_t. -From PR pkg/40548 - ---- mh.c.orig 2009-01-05 20:20:53.000000000 +0100 -+++ mh.c -@@ -1242,8 +1242,8 @@ int maildir_open_new_message (MESSAGE * - omask = umask (mh_umask (dest)); - FOREVER - { -- snprintf (path, _POSIX_PATH_MAX, "%s/tmp/%s.%ld.%u_%d.%s%s", -- dest->path, subdir, time (NULL), (unsigned int)getpid (), -+ snprintf (path, _POSIX_PATH_MAX, "%s/tmp/%s.%lld.%u_%d.%s%s", -+ dest->path, subdir, (long long)time (NULL), (unsigned int)getpid (), - Counter++, NONULL (Hostname), suffix); - - dprint (2, (debugfile, "maildir_open_new_message (): Trying %s.\n", -@@ -1328,8 +1328,8 @@ int maildir_commit_message (CONTEXT * ct - /* construct a new file name. */ - FOREVER - { -- snprintf (path, _POSIX_PATH_MAX, "%s/%ld.%u_%d.%s%s", subdir, -- time (NULL), (unsigned int)getpid (), Counter++, -+ snprintf (path, _POSIX_PATH_MAX, "%s/%lld.%u_%d.%s%s", subdir, -+ (long long)time (NULL), (unsigned int)getpid (), Counter++, - NONULL (Hostname), suffix); - snprintf (full, _POSIX_PATH_MAX, "%s/%s", ctx->path, path); - |