Bug #65923 [Asn->Csd]: ext/socket assumes AI_V4MAPPED is defined

From: Date: Sat, 30 Nov 2013 13:40:13 +0000
Subject: Bug #65923 [Asn->Csd]: ext/socket assumes AI_V4MAPPED is defined
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183030@lists.php.net to get a copy of this message
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:             Assigned
+Status:             Closed
 Type:               Bug
 Package:            Compile Failure
 Operating System:   NetBSD 6
 PHP Version:        5.5.4
 Assigned To:        felipe
 Block user comment: N
 Private report:     N

 New Comment:

Automatic comment on behalf of felipensp@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=78f69a2b4f368058e9798c7ef1f733e783bfd220
Log: - Fixed bug #65923 (ext/socket assumes AI_V4MAPPED is defined)


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)

« previous php.bugs (#183030) next »