svn commit: r556052 - head/devel/pecl-swoole/files
Vanilla I. Shu
vanilla at FreeBSD.org
Sun Nov 22 13:40:36 UTC 2020
Author: vanilla
Date: Sun Nov 22 13:40:35 2020
New Revision: 556052
URL: https://svnweb.freebsd.org/changeset/ports/556052
Log:
Add a patch for php80. (build issue)
Added:
head/devel/pecl-swoole/files/patch-ext-src_php__swoole.h (contents, props changed)
Modified:
head/devel/pecl-swoole/files/patch-config.m4
Modified: head/devel/pecl-swoole/files/patch-config.m4
==============================================================================
--- head/devel/pecl-swoole/files/patch-config.m4 Sun Nov 22 13:28:57 2020 (r556051)
+++ head/devel/pecl-swoole/files/patch-config.m4 Sun Nov 22 13:40:35 2020 (r556052)
@@ -1,6 +1,6 @@
---- config.m4.orig 2020-10-30 03:15:28 UTC
+--- config.m4.orig 2020-11-20 11:01:53 UTC
+++ config.m4
-@@ -271,7 +271,7 @@ if test "$PHP_SWOOLE" != "no"; then
+@@ -287,7 +287,7 @@ if test "$PHP_SWOOLE" != "no"; then
AC_CHECK_LIB(c, poll, AC_DEFINE(HAVE_POLL, 1, [have poll]))
AC_CHECK_LIB(c, sendfile, AC_DEFINE(HAVE_SENDFILE, 1, [have sendfile]))
AC_CHECK_LIB(c, kqueue, AC_DEFINE(HAVE_KQUEUE, 1, [have kqueue]))
Added: head/devel/pecl-swoole/files/patch-ext-src_php__swoole.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/pecl-swoole/files/patch-ext-src_php__swoole.h Sun Nov 22 13:40:35 2020 (r556052)
@@ -0,0 +1,16 @@
+--- ext-src/php_swoole.h.orig 2020-11-22 13:36:39 UTC
++++ ext-src/php_swoole.h
+@@ -912,10 +912,11 @@ static sw_inline zend_bool sw_zend_is_callable_at_fram
+ {
+ zend_string *name;
+ zend_bool ret;
+-#if PHP_VERSION_ID < 80000
++#if PHP_VERSION_ID < 80001
+ ret = zend_is_callable_ex(zcallable, zobject ? Z_OBJ_P(zobject) : NULL, check_flags, &name, fci_cache, error);
+ #else
+- ret = zend_is_callable_at_frame(zcallable, zobject ? Z_OBJ_P(zobject) : NULL, frame, check_flags, &name, fci_cache, error);
++ ret = zend_is_callable_at_frame(zcallable, zobject ? Z_OBJ_P(zobject) : NULL, frame, check_flags, fci_cache, error);
++ name = zend_get_callable_name_ex(zcallable, zobject);
+ #endif
+ if (callable_name)
+ {
More information about the svn-ports-head
mailing list