Bug 22453 – OpenBSD: Add a dummy value for AI_V4MAPPED

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
Other
Creation time
2021-10-30T01:31:32Z
Last change time
2021-10-30T16:46:39Z
Keywords
pull
Assigned to
No Owner
Creator
Brian Callahan

Comments

Comment #0 by bcallah — 2021-10-30T01:31:32Z
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 by dlang-bot — 2021-10-30T01:32:39Z
@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 by dlang-bot — 2021-10-30T16:46:39Z
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