git: 6377428ea936 - main - graphics/php-geos: Fix build with PHP 8.5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Jul 2025 07:26:55 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6377428ea936ea3916b9a79fa5f6fb7b7553ac16
commit 6377428ea936ea3916b9a79fa5f6fb7b7553ac16
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-07-23 07:19:01 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-07-23 07:23:11 +0000
graphics/php-geos: Fix build with PHP 8.5
Reference: https://pkg-status.freebsd.org/beefy22/data/142amd64-default/d4f6e186cb15/logs/php85-geos-1.0.0_1.log
---
graphics/php-geos/files/patch-php85 | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/graphics/php-geos/files/patch-php85 b/graphics/php-geos/files/patch-php85
new file mode 100644
index 000000000000..deffb00ff64b
--- /dev/null
+++ b/graphics/php-geos/files/patch-php85
@@ -0,0 +1,11 @@
+--- geos.c.orig 2024-01-31 14:59:13 UTC
++++ geos.c
+@@ -150,7 +150,7 @@ static void errorHandler(const char *fmt, ...)
+ va_end(args);
+
+ /* TODO: use a GEOSException ? */
+- zend_throw_exception_ex(zend_exception_get_default(TSRMLS_C),
++ zend_throw_exception_ex(zend_ce_exception,
+ 1 TSRMLS_CC, "%s", message);
+
+ }