pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/lang/php55



Hi,

In message <20131015144351.61BAA96%cvs.netbsd.org@localhost>
        on Tue, 15 Oct 2013 14:43:51 +0000,
        "Joerg Sonnenberger" <joerg%netbsd.org@localhost> wrote:
> Module Name:  pkgsrc
> Committed By: joerg
> Date:         Tue Oct 15 14:43:51 UTC 2013
> 
> Modified Files:
>       pkgsrc/lang/php55: distinfo
> Added Files:
>       pkgsrc/lang/php55/patches: patch-sockaddr__conv.c
> 
> Log Message:
> Add patch that would fix the build of net/php-sockets for PHP 5.5,
This patch dosen't applied correctyly.

> if I knew how to get it applied.
What do you mean above "if ..."?

And where came from the value 1 for AI_V4MAPPED?

--- sockaddr_conv.c.orig        2013-10-14 13:24:02.000000000 +0000
+++ sockaddr_conv.c
@@ -26,6 +26,9 @@ int php_set_inet6_addr(struct sockaddr_i
 
                memset(&hints, 0, sizeof(struct addrinfo));
                hints.ai_family = AF_INET6;
+#ifndef AI_V4MAPPED
+#define AI_V4MAPPED 1
+#endif

I'll correct patch for sockaddr_conv.c if you are OK.

Best regards.

-- 
Takahiro Kambe <taca%NetBSD.org@localhost>/<taca%back-street.net@localhost>



Home | Main Index | Thread Index | Old Index