components/php/php56/patches/ext-socket-config.m4.patch
author Rich Burridge <rich.burridge@oracle.com>
Tue, 02 May 2017 17:33:26 -0700
changeset 7964 d9801318ed3d
parent 4963 54be9ccc004f
permissions -rw-r--r--
25981468 Build ilmbase and openexr with the GNU compilers

# 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
@@ -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