I think this problem may already have been addressed by remapping getaddrinfo() to irs_getaddrinfo() in lib/irs/include/irs/netdb.h.in. The patch seems to address the same problem in a more expansive way, and may be useful, but I don't think there's any urgency about it now.