summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2024-12-31 14:57:35 +0800
committerVanilla I. Shu <vanilla@FreeBSD.org>2024-12-31 14:57:35 +0800
commit776bf899c6c9eea2ee72ccc2b32b9f46c58e9244 (patch)
treee87d40172096303d4d02c9d6e5dea86b4e54f658
parentaudio/py-pulsectl: update to 24.12.0 (diff)
devel/pecl-swoole: update to 5.1.6.
-rw-r--r--devel/pecl-swoole/Makefile2
-rw-r--r--devel/pecl-swoole/distinfo6
-rw-r--r--devel/pecl-swoole/files/patch-include_swoole__async.h5
-rw-r--r--devel/pecl-swoole/files/patch-src_coroutine_system.cc4
4 files changed, 9 insertions, 8 deletions
diff --git a/devel/pecl-swoole/Makefile b/devel/pecl-swoole/Makefile
index 05172db55f44..e16380aa08b3 100644
--- a/devel/pecl-swoole/Makefile
+++ b/devel/pecl-swoole/Makefile
@@ -1,5 +1,5 @@
PORTNAME= swoole
-PORTVERSION= 5.1.5
+PORTVERSION= 5.1.6
CATEGORIES= devel net
MAINTAINER= vanilla@FreeBSD.org
diff --git a/devel/pecl-swoole/distinfo b/devel/pecl-swoole/distinfo
index 45750735aad7..f694855d5210 100644
--- a/devel/pecl-swoole/distinfo
+++ b/devel/pecl-swoole/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1730442057
-SHA256 (PECL/swoole-5.1.5.tgz) = fdc856f746452c3333d0b2b70047da6172c3636e9b23a874c7aeb5abc312cf0a
-SIZE (PECL/swoole-5.1.5.tgz) = 2265268
+TIMESTAMP = 1735627788
+SHA256 (PECL/swoole-5.1.6.tgz) = 335bf67aba33789450701b36fb21d5b46d72f837de92def2f80d4a0090eb57c8
+SIZE (PECL/swoole-5.1.6.tgz) = 2266113
diff --git a/devel/pecl-swoole/files/patch-include_swoole__async.h b/devel/pecl-swoole/files/patch-include_swoole__async.h
index 641b5f3381fd..e84e2731f615 100644
--- a/devel/pecl-swoole/files/patch-include_swoole__async.h
+++ b/devel/pecl-swoole/files/patch-include_swoole__async.h
@@ -1,11 +1,12 @@
---- include/swoole_async.h.orig 2023-10-01 04:44:15 UTC
+--- include/swoole_async.h.orig 2024-11-28 03:39:05 UTC
+++ include/swoole_async.h
-@@ -23,6 +23,10 @@
+@@ -23,6 +23,11 @@
#include <mutex>
#include <atomic>
+#ifdef __FreeBSD__
+#include <arpa/inet.h>
++#include <netinet/in.h>
+#endif
+
#ifndef O_DIRECT
diff --git a/devel/pecl-swoole/files/patch-src_coroutine_system.cc b/devel/pecl-swoole/files/patch-src_coroutine_system.cc
index 95b124ebe059..ad235fcfbf97 100644
--- a/devel/pecl-swoole/files/patch-src_coroutine_system.cc
+++ b/devel/pecl-swoole/files/patch-src_coroutine_system.cc
@@ -1,6 +1,6 @@
---- src/coroutine/system.cc.orig 2023-10-01 03:15:13 UTC
+--- src/coroutine/system.cc.orig 2024-11-28 03:39:05 UTC
+++ src/coroutine/system.cc
-@@ -711,7 +711,8 @@ std::shared_ptr<AsyncLock> async_lock(void *resource)
+@@ -701,7 +701,8 @@ std::shared_ptr<AsyncLock> async_lock(void *resource)
"resource(%p) has already been bound to another coroutine#%ld, "
"%s of the same resource in coroutine#%ld at the same time is not allowed",
resource,