diff --git a/textproc/php83-xsl/Makefile b/textproc/php83-xsl/Makefile index 13cf30a12fa5..59cb10d26d57 100644 --- a/textproc/php83-xsl/Makefile +++ b/textproc/php83-xsl/Makefile @@ -1,12 +1,13 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php83 PKGNAMESUFFIX= -xsl post-patch: ${REINPLACE_CMD} -e \ 's|#include "../dom/xml_common.h"|#include "ext/dom/xml_common.h"|g' \ ${WRKSRC}/php_xsl.h .include "${MASTERDIR}/Makefile" diff --git a/textproc/php83-xsl/files/patch-php__xsl.c b/textproc/php83-xsl/files/patch-php__xsl.c new file mode 100644 index 000000000000..35c8952352de --- /dev/null +++ b/textproc/php83-xsl/files/patch-php__xsl.c @@ -0,0 +1,10 @@ +--- php_xsl.c.orig 2026-04-04 20:11:31 UTC ++++ php_xsl.c +@@ -212,7 +212,6 @@ PHP_MSHUTDOWN_FUNCTION(xsl) + xsltUnregisterExtModuleFunction ((const xmlChar *) "function", + (const xmlChar *) "http://php.net/xsl"); + xsltSetGenericErrorFunc(NULL, NULL); +- xsltCleanupGlobals(); + + return SUCCESS; + }