Bug #65923 [Opn->Asn]: ext/socket assumes AI_V4MAPPED is defined
Edit report at https://bugs.php.net/bug.php?id=65923&edit=1
ID: 65923
Updated by: felipe@php.net
Reported by: taca at back-street dot net
Summary: ext/socket assumes AI_V4MAPPED is defined
-Status: Open
+Status: Assigned
Type: Bug
Package: Compile Failure
Operating System: NetBSD 6
PHP Version: 5.5.4
-Assigned To:
+Assigned To: felipe
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2013-10-17 09:06:49] taca at back-street dot net
Description:
------------
php_set_inet6_addr() in ext/sockets/sockaddr_conv.c, it always assumes AI_V4MAPPED is defined but it
isn't true.
Build php 5.5.4 on NetBSD 6.1 cause this problem and below file is a workaround.
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/lang/php55/patches/patch-ext_sockets_sockaddr__conv.c
Best way is checking AI_V4MAPPED is defined or not at configure phase.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65923&edit=1
Thread (3 messages)