diff options
author | Alex Dupre <ale@FreeBSD.org> | 2014-09-04 14:24:25 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2014-09-04 14:24:25 +0000 |
commit | f23aed7bde4b7e82cbb2943a38f6f60f51038567 (patch) | |
tree | 65444edf752ebaf49e944ea49c7e7dad35e1de9a /lang/php56/files/patch-sapi_fpm_config.m4 | |
parent | - Update to 1.20140824 (diff) |
Import PHP 5.6 branch!
Notes
Notes:
svn path=/head/; revision=367268
Diffstat (limited to 'lang/php56/files/patch-sapi_fpm_config.m4')
-rw-r--r-- | lang/php56/files/patch-sapi_fpm_config.m4 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lang/php56/files/patch-sapi_fpm_config.m4 b/lang/php56/files/patch-sapi_fpm_config.m4 new file mode 100644 index 000000000000..c8d7a8747fbe --- /dev/null +++ b/lang/php56/files/patch-sapi_fpm_config.m4 @@ -0,0 +1,20 @@ +--- sapi/fpm/config.m4.orig 2013-12-10 23:31:06.000000000 +0000 ++++ sapi/fpm/config.m4 2013-12-13 21:50:25.662258580 +0000 +@@ -317,7 +317,7 @@ AC_DEFUN([AC_FPM_LQ], + + AC_MSG_CHECKING([for TCP_INFO]) + +- AC_TRY_COMPILE([ #include <netinet/tcp.h> ], [struct tcp_info ti; int x = TCP_INFO;], [ ++ AC_TRY_COMPILE([ #include <netinet/tcp.h> ], [struct tcp_info ti; ti.tcpi_sacked = 0; int x = TCP_INFO;], [ + have_lq=tcp_info + AC_MSG_RESULT([yes]) + ], [ +@@ -338,7 +338,7 @@ AC_DEFUN([AC_FPM_LQ], + AC_MSG_RESULT([no]) + ]) + +- if test "$have_lq" = "tcp_info"; then ++ if test "$have_lq" = "so_listenq"; then + AC_DEFINE([HAVE_LQ_SO_LISTENQ], 1, [do we have SO_LISTENQxxx?]) + fi + fi |