diff options
author | tron <tron> | 2001-10-18 08:04:25 +0000 |
---|---|---|
committer | tron <tron> | 2001-10-18 08:04:25 +0000 |
commit | 806b418ebf0741ca940cf7035f625582e6155183 (patch) | |
tree | 5b374c4db8223cfcba954f7131af3059b146ac94 /mail/mutt | |
parent | ebe5cbdcae5ebda88b004e29fba60502dd030339 (diff) | |
download | pkgsrc-806b418ebf0741ca940cf7035f625582e6155183.tar.gz |
Add fix for mutt bug#828 (mail transport agent invoked without stdout and
stderr) to proactively avoid error messages with sendmail 8.12.x.
Diffstat (limited to 'mail/mutt')
-rw-r--r-- | mail/mutt/distinfo | 3 | ||||
-rw-r--r-- | mail/mutt/patches/patch-al | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/mail/mutt/distinfo b/mail/mutt/distinfo index 39336fce37c..eee6a3cc0f2 100644 --- a/mail/mutt/distinfo +++ b/mail/mutt/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2001/06/20 07:07:23 jlam Exp $ +$NetBSD: distinfo,v 1.5 2001/10/18 08:04:25 tron Exp $ SHA1 (mutt-1.2.5i.tar.gz) = a8eceff4693120da1d39f042f04668caa34deaa9 Size (mutt-1.2.5i.tar.gz) = 1973923 bytes @@ -13,3 +13,4 @@ SHA1 (patch-ah) = 36004ff9b20a3cf119c6163467f587c51a1d1e36 SHA1 (patch-ai) = f1a3c47666dd308e4d8938939a50a5553220f736 SHA1 (patch-aj) = 36f20c476b695bb88378aa02326bfdef77695111 SHA1 (patch-ak) = c71e21bdd2e5c194ee2f8f619737d3cc0b4c4d5c +SHA1 (patch-al) = 6516789c92fcbf11a8cb0da17cc67d4698e5f3ad diff --git a/mail/mutt/patches/patch-al b/mail/mutt/patches/patch-al new file mode 100644 index 00000000000..d52bb22e55c --- /dev/null +++ b/mail/mutt/patches/patch-al @@ -0,0 +1,18 @@ +$NetBSD: patch-al,v 1.3 2001/10/18 08:04:25 tron Exp $ + +--- sendlib.c 2001/10/11 07:58:26 2.88 ++++ sendlib.c 2001/10/17 16:22:48 2.89 +@@ -1831,6 +1831,13 @@ + if (dup (1) < 0) + _exit (S_ERR); + } ++ else ++ { ++ if (open ("/dev/null", O_WRONLY | O_APPEND) < 0) /* stdout */ ++ _exit (S_ERR); ++ if (open ("/dev/null", O_RDWR | O_APPEND) < 0) /* stderr */ ++ _exit (S_ERR); ++ } + + execv (path, args); + _exit (S_ERR); |