git: 821186acad55 - main - lang/php81: Disable the libxml2 patches

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 21 Aug 2024 19:34:21 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=821186acad55e90b6b302bf1eb1c959b48ac03c7

commit 821186acad55e90b6b302bf1eb1c959b48ac03c7
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-08-21 19:25:33 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-08-21 19:34:16 +0000

    lang/php81: Disable the libxml2 patches
    
    Some patches were added for supporting libxml2 2.12 or newer however as
    libxml2 itself has not yet been updated these patches are not compatible
    with the previous versions and have runtime issues. These patches should
    be added again after textproc/libxml2 has been updated to 2.12 or newer.
    
    On the contrary if php81 has runtime issues even after the libxml2
    updates and with these patches we might have to remove php81 earlier
    than expected if there is no fix.
    
    PR:             280775
    Reported by:    freebsdbugs@filis.org
---
 lang/php81/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/lang/php81/Makefile b/lang/php81/Makefile
index 937623ecc947..164dbf94eabd 100644
--- a/lang/php81/Makefile
+++ b/lang/php81/Makefile
@@ -21,9 +21,11 @@ PHP_VER=	81
 CONFLICTS_INSTALL?=	php[0-9][0-9]${PKGNAMESUFFIX}
 
 .if !defined(PKGNAMESUFFIX)
-PATCH_SITES=	https://github.com/php/php-src/commit/
-PATCHFILES=	0a39890c967aa57225bb6bdf4821aff7a3a3c082.patch:-p1 \
-			061058a9b1bbd90d27d97d79aebcf2b5029767b0.patch:-p1
+# For now disable the exra patches for libxml2 until libxml2 is updated
+# Uncomment the following lines when libxml2 is updated
+#PATCH_SITES=	https://github.com/php/php-src/commit/
+#PATCHFILES=	0a39890c967aa57225bb6bdf4821aff7a3a3c082.patch:-p1 \
+#			061058a9b1bbd90d27d97d79aebcf2b5029767b0.patch:-p1
 
 LIB_DEPENDS=	libargon2.so:security/libargon2 \
 		libpcre2-8.so:devel/pcre2