Skip to content

Commit

Permalink
opensmtpd: fix build on Leopard
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed Mar 6, 2024
1 parent 1074a2e commit 0a51b5c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mail/opensmtpd/Portfile
Expand Up @@ -44,7 +44,8 @@ post-patch {
}

#temp fix for 7.4.0p1. Already patched upstream, to be included in next release.
patchfiles configure.patch
patchfiles configure.patch \
EAI_OVERFLOW.patch

depends_build-append \
port:autoconf \
Expand Down
15 changes: 15 additions & 0 deletions mail/opensmtpd/files/EAI_OVERFLOW.patch
@@ -0,0 +1,15 @@
https://github.com/OpenSMTPD/OpenSMTPD/pull/1247

--- openbsd-compat/defines.h 2023-09-29 20:59:00
+++ openbsd-compat/defines.h 2024-03-06 20:18:17
@@ -456,6 +456,10 @@
# endif
#endif
/* end of chl */
+
+#ifndef EAI_OVERFLOW
+#define EAI_OVERFLOW EAI_FAIL
+#endif

#ifndef HAVE_FPARSELN
/*

0 comments on commit 0a51b5c

Please sign in to comment.