summaryrefslogtreecommitdiff
path: root/lang/php72/files/patch-sapi_fpm_config.m4
diff options
context:
space:
mode:
authorTorsten Zuehlsdorff <tz@FreeBSD.org>2017-11-16 10:48:48 +0000
committerTorsten Zuehlsdorff <tz@FreeBSD.org>2017-11-16 10:48:48 +0000
commit687591dd75e7bc33dfeb597493d97e5baaf89f1d (patch)
treea2ff3d816b255016827738be132f8fc8bff8f5d9 /lang/php72/files/patch-sapi_fpm_config.m4
parentUpdate the cmake family to 3.9.6 (skip 3.9.5, the upstream (diff)
Add PHP 7.2 RC6
Notable changes: - mcrypt module was removed - sodium module was added - sybase_ct artifacts removed Also many PECL ports will not work with this version since some files got renamed. Reviewed by: mat, ale, Rainer Duffner <rainer@ultra-secure.de> Differential Revision: https://reviews.freebsd.org/D12980
Diffstat (limited to 'lang/php72/files/patch-sapi_fpm_config.m4')
-rw-r--r--lang/php72/files/patch-sapi_fpm_config.m419
1 files changed, 19 insertions, 0 deletions
diff --git a/lang/php72/files/patch-sapi_fpm_config.m4 b/lang/php72/files/patch-sapi_fpm_config.m4
new file mode 100644
index 000000000000..69797ccb8aa3
--- /dev/null
+++ b/lang/php72/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 <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])
+ ], [
+ 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
+