D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 22453 - OpenBSD: Add a dummy value for AI_V4MAPPED
Summary: OpenBSD: Add a dummy value for AI_V4MAPPED
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: druntime (show other issues)
Version: D2
Hardware: All Other
: P1 minor
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2021-10-30 01:31 UTC by Brian Callahan
Modified: 2021-10-30 16:46 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Brian Callahan 2021-10-30 01:31:32 UTC
OpenBSD doesn't support AI_V4MAPPED but real-world D code assumes its presence.
Add a dummy value of 0 to help prevent compiler errors (but, of course, without the benefits of AI_V4MAPPED).
Discovered when building some code from the dub packages.
Comment 1 Dlang Bot 2021-10-30 01:32:39 UTC
@ibara created dlang/druntime pull request #3604 "Fix Issue 22453 - OpenBSD: Add a dummy value for AI_V4MAPPED" fixing this issue:

- Fix Issue 22453 - OpenBSD: Add a dummy value for AI_V4MAPPED

https://github.com/dlang/druntime/pull/3604
Comment 2 Dlang Bot 2021-10-30 16:46:39 UTC
dlang/druntime pull request #3604 "Fix Issue 22453 - OpenBSD: Add a dummy value for AI_V4MAPPED" was merged into stable:

- f4fcc46eb838bc6c9aab0d7977e43a1d649130b6 by Brian Callahan:
  Fix Issue 22453 - OpenBSD: Add a dummy value for AI_V4MAPPED

https://github.com/dlang/druntime/pull/3604