Date: Sun, 12 Jan 2025 01:45:08 GMT From: "Vanilla I. Shu" <vanilla@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: fe8faa1b5f39 - main - devel/pecl-swoole: update to 6.0.0. Message-ID: <202501120145.50C1j86S048323@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by vanilla: URL: https://cgit.FreeBSD.org/ports/commit/?id=fe8faa1b5f39fd51ee068003c747f6b2f34a6958 commit fe8faa1b5f39fd51ee068003c747f6b2f34a6958 Author: Vanilla I. Shu <vanilla@FreeBSD.org> AuthorDate: 2025-01-12 01:44:16 +0000 Commit: Vanilla I. Shu <vanilla@FreeBSD.org> CommitDate: 2025-01-12 01:44:40 +0000 devel/pecl-swoole: update to 6.0.0. --- devel/pecl-swoole/Makefile | 8 +++++--- devel/pecl-swoole/distinfo | 6 +++--- devel/pecl-swoole/files/patch-ext-src_php__swoole__cxx.h | 13 +++++++++++++ 3 files changed, 21 insertions(+), 6 deletions(-) diff --git a/devel/pecl-swoole/Makefile b/devel/pecl-swoole/Makefile index e16380aa08b3..482c9838fef3 100644 --- a/devel/pecl-swoole/Makefile +++ b/devel/pecl-swoole/Makefile @@ -1,5 +1,5 @@ PORTNAME= swoole -PORTVERSION= 5.1.6 +PORTVERSION= 6.0.0 CATEGORIES= devel net MAINTAINER= vanilla@FreeBSD.org @@ -13,11 +13,10 @@ NOT_FOR_ARCHS= i386 powerpc NOT_FOR_ARCHS_REASON= upstream drop 32 bits support USES= compiler:c11 localbase:ldflags php:build,pecl pkgconfig ssl -IGNORE_WITH_PHP= 84 CONFIGURE_ARGS+= --enable-mysqlnd -OPTIONS_DEFINE= BROTLI CARES CURL PGSQL SOCKETS +OPTIONS_DEFINE= BROTLI CARES CURL PGSQL SOCKETS ZSTD CARES_LIB_DEPENDS= libcares.so:dns/c-ares CARES_CONFIGURE_ON= --enable-cares SOCKETS_USE= PHP=sockets:build @@ -32,5 +31,8 @@ PGSQL_USE= PHP=pdo:build BROTLI_CONFIGURE_ON= --enable-brotli BROTLI_CONFIGURE_OFF= --disable-brotli BROTLI_LIB_DEPENDS= libbrotlicommon.so:archivers/brotli +ZSTD_CONFIGURE_ON= --enable-zstd +ZSTD_CONFIGURE_OFF= --disable-zstd +ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd .include <bsd.port.mk> diff --git a/devel/pecl-swoole/distinfo b/devel/pecl-swoole/distinfo index f694855d5210..2934f934a9bd 100644 --- a/devel/pecl-swoole/distinfo +++ b/devel/pecl-swoole/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1735627788 -SHA256 (PECL/swoole-5.1.6.tgz) = 335bf67aba33789450701b36fb21d5b46d72f837de92def2f80d4a0090eb57c8 -SIZE (PECL/swoole-5.1.6.tgz) = 2266113 +TIMESTAMP = 1736496857 +SHA256 (PECL/swoole-6.0.0.tgz) = e9bc196f2678fb42f7b3e38e5489b5b20f3dba50118b9669f124b77d05ea7c5a +SIZE (PECL/swoole-6.0.0.tgz) = 2292159 diff --git a/devel/pecl-swoole/files/patch-ext-src_php__swoole__cxx.h b/devel/pecl-swoole/files/patch-ext-src_php__swoole__cxx.h new file mode 100644 index 000000000000..b61ec975fc34 --- /dev/null +++ b/devel/pecl-swoole/files/patch-ext-src_php__swoole__cxx.h @@ -0,0 +1,13 @@ +--- ext-src/php_swoole_cxx.h.orig 2024-12-16 08:02:21 UTC ++++ ext-src/php_swoole_cxx.h +@@ -200,6 +200,10 @@ using tcp_info = tcp_connection_info; + using tcp_info = tcp_connection_info; + #endif + ++#ifdef __FreeBSD__ ++#define SOL_TCP IPPROTO_TCP ++#endif ++ + #ifdef TCP_INFO + std::unordered_map<std::string, uint64_t> sw_socket_parse_tcp_info(tcp_info *info); + #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501120145.50C1j86S048323>