1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

mail/dovecot: revert removing patch that is still needed.

PR:		240607
This commit is contained in:
Larry Rosenman 2019-10-16 16:25:07 +00:00
parent 6cfd4fba0f
commit 81fc1d3d05
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=514605
2 changed files with 12 additions and 1 deletions

View File

@ -9,7 +9,7 @@
PORTNAME= dovecot
PORTVERSION= 2.3.8
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= https://dovecot.org/releases/2.3/

View File

@ -0,0 +1,11 @@
--- src/master/main.c.orig 2018-11-23 11:06:45 UTC
+++ src/master/main.c
@@ -862,6 +862,8 @@ int main(int argc, char *argv[])
i_fatal("dup2(dev_null_fd) failed: %m");
if (!foreground && dup2(dev_null_fd, STDOUT_FILENO) < 0)
i_fatal("dup2(dev_null_fd) failed: %m");
+ if (!foreground && dup2(dev_null_fd, STDERR_FILENO) < 0)
+ i_fatal("dup2(dev_null_fd) failed: %m");
pidfile_path =
i_strconcat(set->base_dir, "/"MASTER_PID_FILE_NAME, NULL);