git: 815f40a1d922 - main - lang/php84: Update version 8.4.12=>8.4.13

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 25 Sep 2025 14:13:24 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=815f40a1d9227196dc09af2ab4e46626eae79661

commit 815f40a1d9227196dc09af2ab4e46626eae79661
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-09-25 14:10:51 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-09-25 14:10:51 +0000

    lang/php84: Update version 8.4.12=>8.4.13
    
    Changelog: https://www.php.net/ChangeLog-8.php#8.4.13
---
 lang/php84/Makefile | 8 +++++++-
 lang/php84/distinfo | 6 +++---
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/lang/php84/Makefile b/lang/php84/Makefile
index 14e291ccfccf..f9ceb2b0513f 100644
--- a/lang/php84/Makefile
+++ b/lang/php84/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	php84
-DISTVERSION=	8.4.12
+DISTVERSION=	8.4.13
 PORTREVISION?=	0
 CATEGORIES?=	lang devel www
 MASTER_SITES=	PHP/distributions
@@ -596,6 +596,12 @@ post-configure:
 	@${BSDMAKE} -C ${WRKSRC} ./jit/ir/ir_emit.lo
 .  endif
 
+.  if ${PHP_MODNAME} == "dom"
+post-patch:
+	@${REINPLACE_CMD} -e 's|ext/dom/lexbor/lexbor/selectors-adapted/selectors.h|lexbor/lexbor/selectors-adapted/selectors.h|g' \
+		${WRKSRC}/lexbor/lexbor/selectors-adapted/selectors.c
+.  endif
+
 .  if ${PHP_MODNAME} == "soap"
 post-extract:
 	@${MKDIR} ${WRKSRC}/ext/session
diff --git a/lang/php84/distinfo b/lang/php84/distinfo
index ab3b1734f714..38bfb3a7541c 100644
--- a/lang/php84/distinfo
+++ b/lang/php84/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1756287141
-SHA256 (php-8.4.12.tar.xz) = c1b7978cbb5054eed6c749bde4444afc16a3f2268101fb70a7d5d9b1083b12ad
-SIZE (php-8.4.12.tar.xz) = 13636100
+TIMESTAMP = 1758790048
+SHA256 (php-8.4.13.tar.xz) = b4f27adf30bcf262eacf93c78250dd811980f20f3b90d79a3dc11248681842df
+SIZE (php-8.4.13.tar.xz) = 13646008