git: 84af41d4ef8f - main - mail/mess822: Fix build with Clang 18

From: Fukang Chen <loader_at_FreeBSD.org>
Date: Tue, 02 Jul 2024 17:22:37 UTC
The branch main has been updated by loader:

URL: https://cgit.FreeBSD.org/ports/commit/?id=84af41d4ef8f6d9cbfb5ac340ab049cb77ce0a84

commit 84af41d4ef8f6d9cbfb5ac340ab049cb77ce0a84
Author:     Fukang Chen <loader@FreeBSD.org>
AuthorDate: 2024-07-02 09:01:57 +0000
Commit:     Fukang Chen <loader@FreeBSD.org>
CommitDate: 2024-07-02 17:21:38 +0000

    mail/mess822: Fix build with Clang 18
    
    ./load install hier.o auto_home.o strerr.a substdio.a  stralloc.a alloc.a open.a error.a str.a
    ./install
    install: fatal: unable to mkdir /wrkdirs/usr/ports/mail/mess822/work/stage/usr/local: no error
    *** Error code 111
    
    Stop.
    make: stopped in /wrkdirs/usr/ports/mail/mess822/work/mess822-0.58
    *** Error code 1
    
    https://lists.freebsd.org/archives/freebsd-pkg-fallout/2024-June/608592.html
    
    MFH:            2024Q3 (build fix)
    Reported by:    pkg-fallout
---
 mail/mess822/files/patch-install.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/mail/mess822/files/patch-install.c b/mail/mess822/files/patch-install.c
new file mode 100644
index 000000000000..10991a46998e
--- /dev/null
+++ b/mail/mess822/files/patch-install.c
@@ -0,0 +1,7 @@
+--- install.c.orig	2024-07-02 03:32:40 UTC
++++ install.c
+@@ -1,3 +1,4 @@
++#include <errno.h>
+ #include "substdio.h"
+ #include "strerr.h"
+ #include "error.h"