forked from macports/macports-ports
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libvmime: replace AI_NUMERICSERV if needed (macports#26978)
- Loading branch information
1 parent
67b178a
commit 976522a
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
From https://github.com/macports/macports-legacy-support/blob/0f1292b4734aac30188ee03561ecd1430a255062/include/netdb.h#L23 | ||
|
||
--- src/vmime/platforms/posix/posixSocket.cpp 2024-12-08 09:04:25.000000000 +0800 | ||
+++ src/vmime/platforms/posix/posixSocket.cpp 2024-12-08 09:19:54.000000000 +0800 | ||
@@ -59,6 +59,11 @@ | ||
#endif | ||
|
||
|
||
+#ifndef AI_NUMERICSERV | ||
+#define AI_NUMERICSERV 0x00001000 | ||
+#endif | ||
+ | ||
+ | ||
// Workaround for detection of strerror_r variants | ||
#if VMIME_HAVE_STRERROR_R | ||
|