git: c7cc2eec7cca - main - mail/cyrus-imapd36: fix build on recent 14-CURRENT.

From: Hajimu UMEMOTO <ume_at_FreeBSD.org>
Date: Sat, 11 Feb 2023 09:39:42 UTC
The branch main has been updated by ume:

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

commit c7cc2eec7cca42e4c5f0135d7053703ef5ffb826
Author:     Hajimu UMEMOTO <ume@FreeBSD.org>
AuthorDate: 2023-02-11 09:39:01 +0000
Commit:     Hajimu UMEMOTO <ume@FreeBSD.org>
CommitDate: 2023-02-11 09:39:01 +0000

    mail/cyrus-imapd36: fix build on recent 14-CURRENT.
---
 mail/cyrus-imapd36/files/patch-imap__relocate_by_id.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/mail/cyrus-imapd36/files/patch-imap__relocate_by_id.c b/mail/cyrus-imapd36/files/patch-imap__relocate_by_id.c
new file mode 100644
index 000000000000..6623fc0596d2
--- /dev/null
+++ b/mail/cyrus-imapd36/files/patch-imap__relocate_by_id.c
@@ -0,0 +1,12 @@
+Index: imap/relocate_by_id.c
+diff -u -p imap/relocate_by_id.c.orig imap/relocate_by_id.c
+--- imap/relocate_by_id.c.orig	2022-12-12 11:04:29.000000000 +0900
++++ imap/relocate_by_id.c	2023-02-11 17:56:42.710449000 +0900
+@@ -45,6 +45,7 @@
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+ #endif
++#include <libgen.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <errno.h>