git: f78377dc8851 - main - www/pecl-yaf: Fix build with PHP 8.5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Jul 2025 07:26:58 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f78377dc8851582675917f24250df6fccdfcca1e
commit f78377dc8851582675917f24250df6fccdfcca1e
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-07-23 07:19:12 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-07-23 07:23:12 +0000
www/pecl-yaf: Fix build with PHP 8.5
Reference: https://pkg-status.freebsd.org/beefy22/data/142amd64-default/d4f6e186cb15/logs/php85-pecl-yaf-3.3.6.log
---
www/pecl-yaf/files/patch-php85 | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/www/pecl-yaf/files/patch-php85 b/www/pecl-yaf/files/patch-php85
new file mode 100644
index 000000000000..1d35ad034c24
--- /dev/null
+++ b/www/pecl-yaf/files/patch-php85
@@ -0,0 +1,11 @@
+--- yaf_exception.c.orig 2024-06-25 03:13:57 UTC
++++ yaf_exception.c
+@@ -73,7 +73,7 @@ zend_class_entry * yaf_get_exception_base(int root) /*
+ }
+ #endif
+
+- return zend_exception_get_default();
++ return zend_ce_exception;
+ }
+ /* }}} */
+