pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/php56 Treat NetBSD the same as FreeBSD wrt. handl...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4332eb66cafd
branches: trunk
changeset: 648768:4332eb66cafd
user: he <he%pkgsrc.org@localhost>
date: Thu Mar 19 08:12:27 2015 +0000
description:
Treat NetBSD the same as FreeBSD wrt. handling of TCP_INFO.
No revision bump since this is a build fix for systems supporting TCP_INFO.
diffstat:
lang/php56/distinfo | 3 ++-
lang/php56/patches/patch-sapi_fpm_fpm_fpm__sockets.c | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r eae1c4adf11f -r 4332eb66cafd lang/php56/distinfo
--- a/lang/php56/distinfo Thu Mar 19 01:06:25 2015 +0000
+++ b/lang/php56/distinfo Thu Mar 19 08:12:27 2015 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2015/02/20 01:17:49 taca Exp $
+$NetBSD: distinfo,v 1.7 2015/03/19 08:12:27 he Exp $
SHA1 (php-5.6.6.tar.bz2) = 6795db456f66193634ff38cf8039636b168eda3c
RMD160 (php-5.6.6.tar.bz2) = 8d9a30c550397b9863cefbb7ea012b6a7e7e26ff
@@ -23,4 +23,5 @@
SHA1 (patch-run-tests.php) = 3b682267825a87f501a9f3dbd526dca2be9f2807
SHA1 (patch-sapi_cgi_Makefile.frag) = 0bdf3e3e5f658ee834671307d7fb7ad36d41d48f
SHA1 (patch-sapi_fpm_fpm_events_port.c) = e68f6307869d39364087c18ebf19e86e07d9c82a
+SHA1 (patch-sapi_fpm_fpm_fpm__sockets.c) = 564b0a059cb58c671632c6ee8f404f46fe2299f0
SHA1 (patch-sapi_fpm_php-fpm.conf.in) = 7c75d8dd9515ef4bca4bdf7c9155fd60f9fbf354
diff -r eae1c4adf11f -r 4332eb66cafd lang/php56/patches/patch-sapi_fpm_fpm_fpm__sockets.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/php56/patches/patch-sapi_fpm_fpm_fpm__sockets.c Thu Mar 19 08:12:27 2015 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-sapi_fpm_fpm_fpm__sockets.c,v 1.1 2015/03/19 08:12:27 he Exp $
+
+Treat NetBSD the same as FreeBSD wrt. tcp_info struct usage.
+
+--- ./sapi/fpm/fpm/fpm_sockets.c.orig 2014-09-17 07:03:27.000000000 +0000
++++ ./sapi/fpm/fpm/fpm_sockets.c
+@@ -405,7 +405,7 @@ int fpm_socket_get_listening_queue(int s
+ zlog(ZLOG_SYSERROR, "failed to retrieve TCP_INFO for socket");
+ return -1;
+ }
+-#if defined(__FreeBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ if (info.__tcpi_sacked == 0) {
+ return -1;
+ }
Home |
Main Index |
Thread Index |
Old Index