From db021968e3411b659e079e540742896abe4193f1 Mon Sep 17 00:00:00 2001 From: Torsten Zuehlsdorff Date: Tue, 24 Jan 2017 11:54:20 +0000 Subject: Add PHP 7.1 Thanks to: mat, pi, ale, martin@waschbuesch.de and franco@opnsense.org --- lang/php71/files/patch-sapi_fpm_config.m4 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 lang/php71/files/patch-sapi_fpm_config.m4 (limited to 'lang/php71/files/patch-sapi_fpm_config.m4') diff --git a/lang/php71/files/patch-sapi_fpm_config.m4 b/lang/php71/files/patch-sapi_fpm_config.m4 new file mode 100644 index 000000000000..69797ccb8aa3 --- /dev/null +++ b/lang/php71/files/patch-sapi_fpm_config.m4 @@ -0,0 +1,19 @@ +--- sapi/fpm/config.m4.orig 2016-07-20 13:11:36 UTC ++++ sapi/fpm/config.m4 +@@ -317,14 +317,14 @@ AC_DEFUN([AC_FPM_LQ], + + AC_MSG_CHECKING([for TCP_INFO]) + +- AC_TRY_COMPILE([ #include ], [struct tcp_info ti; int x = TCP_INFO;], [ ++ AC_TRY_COMPILE([ #include ], [struct tcp_info ti; ti.tcpi_sacked = 0; int x = TCP_INFO;], [ + have_lq=tcp_info + AC_MSG_RESULT([yes]) + ], [ + AC_MSG_RESULT([no]) + ]) + +- if test "$have_lq" = "tcp_info"; then ++ if test "$have_lq" = "so_listenq"; then + AC_DEFINE([HAVE_LQ_TCP_INFO], 1, [do we have TCP_INFO?]) + fi + -- cgit v1.2.3