Files
ports/graphics/php-geos/files/patch-php85
T

12 lines
336 B
Plaintext

--- 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);
}