components/php/php56/patches/ext-socket-config.m4.patch
author John Beck <John.Beck@Oracle.COM>
Mon, 28 Sep 2015 12:24:25 -0700
changeset 4963 54be9ccc004f
permissions -rw-r--r--
21959461 libsocket tweak needed for php56
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4963
54be9ccc004f 21959461 libsocket tweak needed for php56
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     1
# From upstream
54be9ccc004f 21959461 libsocket tweak needed for php56
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     2
# https://bugs.php.net/patch-display.php?bug_id=66013&patch=ext_socket_config.m4.patch&revision=1391710634
54be9ccc004f 21959461 libsocket tweak needed for php56
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     3
54be9ccc004f 21959461 libsocket tweak needed for php56
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     4
--- php-5.5.8/ext/sockets/config.m4.~1~	2014-02-03 17:00:04.190436713 +0400
54be9ccc004f 21959461 libsocket tweak needed for php56
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     5
+++ php-5.5.8/ext/sockets/config.m4	2014-02-03 17:01:07.630356700 +0400
54be9ccc004f 21959461 libsocket tweak needed for php56
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     6
@@ -56,6 +56,6 @@
54be9ccc004f 21959461 libsocket tweak needed for php56
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     7
     AC_DEFINE(HAVE_AI_V4MAPPED,1,[Whether you have AI_V4MAPPED])
54be9ccc004f 21959461 libsocket tweak needed for php56
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     8
   fi
54be9ccc004f 21959461 libsocket tweak needed for php56
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     9
 
54be9ccc004f 21959461 libsocket tweak needed for php56
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    10
-  PHP_NEW_EXTENSION([sockets], [sockets.c multicast.c conversions.c sockaddr_conv.c sendrecvmsg.c], [$ext_shared])
54be9ccc004f 21959461 libsocket tweak needed for php56
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    11
+  PHP_NEW_EXTENSION([sockets], [sockets.c multicast.c conversions.c sockaddr_conv.c sendrecvmsg.c], [$ext_shared],,-D_XPG4_2)
54be9ccc004f 21959461 libsocket tweak needed for php56
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    12
   PHP_INSTALL_HEADERS([ext/sockets/], [php_sockets.h])
54be9ccc004f 21959461 libsocket tweak needed for php56
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    13
 fi