diff options
Diffstat (limited to 'meta-oe/recipes-devtools/python/python-tornado')
| -rw-r--r-- | meta-oe/recipes-devtools/python/python-tornado/0001-disable-AI_ADDRCONFIG-flag.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/python/python-tornado/0001-disable-AI_ADDRCONFIG-flag.patch b/meta-oe/recipes-devtools/python/python-tornado/0001-disable-AI_ADDRCONFIG-flag.patch index a3efbcaac8..3c3ec7c853 100644 --- a/meta-oe/recipes-devtools/python/python-tornado/0001-disable-AI_ADDRCONFIG-flag.patch +++ b/meta-oe/recipes-devtools/python/python-tornado/0001-disable-AI_ADDRCONFIG-flag.patch | |||
| @@ -24,7 +24,7 @@ index cfff0ba..c181f24 100644 | |||
| 24 | - # exist on some platforms (specifically WinXP, although | 24 | - # exist on some platforms (specifically WinXP, although |
| 25 | - # newer versions of windows have it) | 25 | - # newer versions of windows have it) |
| 26 | - flags |= socket.AI_ADDRCONFIG | 26 | - flags |= socket.AI_ADDRCONFIG |
| 27 | for res in socket.getaddrinfo(address, port, family, socket.SOCK_STREAM, | 27 | for res in set(socket.getaddrinfo(address, port, family, socket.SOCK_STREAM, |
| 28 | 0, flags): | 28 | 0, flags): |
| 29 | af, socktype, proto, canonname, sockaddr = res | 29 | af, socktype, proto, canonname, sockaddr = res |
| 30 | -- | 30 | -- |
