21959461 libsocket tweak needed for php56
authorJohn Beck <John.Beck@Oracle.COM>
Mon, 28 Sep 2015 12:24:25 -0700
changeset 4963 54be9ccc004f
parent 4962 835e12fc1552
child 4964 30f7741bb742
21959461 libsocket tweak needed for php56
components/php/php56/patches/ext-socket-config.m4.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/php56/patches/ext-socket-config.m4.patch	Mon Sep 28 12:24:25 2015 -0700
@@ -0,0 +1,13 @@
+# From upstream
+# https://bugs.php.net/patch-display.php?bug_id=66013&patch=ext_socket_config.m4.patch&revision=1391710634
+
+--- php-5.5.8/ext/sockets/config.m4.~1~	2014-02-03 17:00:04.190436713 +0400
++++ php-5.5.8/ext/sockets/config.m4	2014-02-03 17:01:07.630356700 +0400
[email protected]@ -56,6 +56,6 @@
+     AC_DEFINE(HAVE_AI_V4MAPPED,1,[Whether you have AI_V4MAPPED])
+   fi
+ 
+-  PHP_NEW_EXTENSION([sockets], [sockets.c multicast.c conversions.c sockaddr_conv.c sendrecvmsg.c], [$ext_shared])
++  PHP_NEW_EXTENSION([sockets], [sockets.c multicast.c conversions.c sockaddr_conv.c sendrecvmsg.c], [$ext_shared],,-D_XPG4_2)
+   PHP_INSTALL_HEADERS([ext/sockets/], [php_sockets.h])
+ fi