summaryrefslogtreecommitdiff
path: root/graphics/php-geos/files/patch-php85
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/php-geos/files/patch-php85')
-rw-r--r--graphics/php-geos/files/patch-php8511
1 files changed, 11 insertions, 0 deletions
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);
+
+ }