freebsd-ports/lang/python22/files/patch-configure
Hye-Shik Chang 9e1cf11978 Fixed a bug where the configure script couldn't detect getaddrinfo()
properly if the KAME stack had SCTP support.

Submitted by:	suz
2004-04-14 06:49:21 +00:00

10 lines
386 B
Text

--- configure.orig Wed Apr 14 15:29:28 2004
+++ configure Wed Apr 14 15:30:25 2004
@@ -5523,6 +5523,7 @@
hints.ai_family = AF_UNSPEC;
hints.ai_flags = passive ? AI_PASSIVE : 0;
hints.ai_socktype = SOCK_STREAM;
+ hints.ai_protocol = IPPROTO_TCP;
if ((gaierr = getaddrinfo(NULL, "54321", &hints, &aitop)) != 0) {
(void)gai_strerror(gaierr);
goto bad;