Include appropriate header for basename(3), fixes the build with clang 15
ok ajacoutot@ (maintainer)
This commit is contained in:
parent
df496c3cdd
commit
ac26d46a16
|
@ -3,6 +3,7 @@ PORTROACH= limitw:1,even
|
|||
COMMENT= Cyrus IMAP server
|
||||
|
||||
V= 3.6.0
|
||||
REVISION= 0
|
||||
DISTNAME= cyrus-imapd-${V}
|
||||
|
||||
SHARED_LIBS += cyrus 0.0 # 0.0
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
Include appropriate header for basename(3).
|
||||
|
||||
Index: imap/relocate_by_id.c
|
||||
--- imap/relocate_by_id.c.orig
|
||||
+++ imap/relocate_by_id.c
|
||||
@@ -42,6 +42,7 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
+#include <libgen.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
Loading…
Reference in New Issue