git: cc92034d9d9a - main - lang/php81: Update version 8.1.33=>8.1.34
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 20 Dec 2025 08:56:29 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=cc92034d9d9a1e2ca25eeace414a0998657928fe
commit cc92034d9d9a1e2ca25eeace414a0998657928fe
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-12-20 08:54:21 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-12-20 08:56:10 +0000
lang/php81: Update version 8.1.33=>8.1.34
Changelog: https://www.php.net/ChangeLog-8.php#8.1.34
MFH: 2025Q4
---
lang/php81/Makefile | 2 +-
lang/php81/distinfo | 6 +++---
textproc/php81-xml/files/patch-compat.c | 10 ++++------
3 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/lang/php81/Makefile b/lang/php81/Makefile
index 86179960786f..415d135e1e5d 100644
--- a/lang/php81/Makefile
+++ b/lang/php81/Makefile
@@ -1,5 +1,5 @@
PORTNAME= php81
-DISTVERSION= 8.1.33
+DISTVERSION= 8.1.34
PORTREVISION?= 0
CATEGORIES?= lang devel www
MASTER_SITES= PHP/distributions
diff --git a/lang/php81/distinfo b/lang/php81/distinfo
index 2e4d04ea9231..3b2526858d27 100644
--- a/lang/php81/distinfo
+++ b/lang/php81/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1751555623
-SHA256 (php-8.1.33.tar.xz) = 9db83bf4590375562bc1a10b353cccbcf9fcfc56c58b7c8fb814e6865bb928d1
-SIZE (php-8.1.33.tar.xz) = 11898724
+TIMESTAMP = 1765959606
+SHA256 (php-8.1.34.tar.xz) = ffa9e0982e82eeaea848f57687b425ed173aa278fe563001310ae2638db5c251
+SIZE (php-8.1.34.tar.xz) = 11903896
diff --git a/textproc/php81-xml/files/patch-compat.c b/textproc/php81-xml/files/patch-compat.c
index af608e129191..89925810a65b 100644
--- a/textproc/php81-xml/files/patch-compat.c
+++ b/textproc/php81-xml/files/patch-compat.c
@@ -1,4 +1,4 @@
---- compat.c.orig 2025-07-01 21:17:52 UTC
+--- compat.c.orig 2025-12-16 18:33:34 UTC
+++ compat.c
@@ -14,6 +14,10 @@
+----------------------------------------------------------------------+
@@ -11,14 +11,12 @@
#include "php.h"
#if defined(HAVE_LIBXML) && (defined(HAVE_XML) || defined(HAVE_XMLRPC)) && !defined(HAVE_LIBEXPAT)
#include "expat_compat.h"
-@@ -375,7 +379,9 @@ _get_entity(void *user, const xmlChar *name)
- if (ret == NULL)
+@@ -376,7 +380,7 @@ _get_entity(void *user, const xmlChar *name)
ret = xmlGetDocEntity(parser->parser->myDoc, name);
+ ZEND_DIAGNOSTIC_IGNORED_START("-Wdeprecated-declarations")
- if (ret == NULL || (parser->parser->instate != XML_PARSER_ENTITY_VALUE && parser->parser->instate != XML_PARSER_ATTRIBUTE_VALUE)) {
-+/* Fix parse error on some XML files so that devel/pear work again. */
-+/* See https://github.com/php/php-src/issues/14834 for details. */
+ if (ret == NULL || parser->parser->instate == XML_PARSER_CONTENT) {
+ ZEND_DIAGNOSTIC_IGNORED_END
if (ret == NULL || ret->etype == XML_INTERNAL_GENERAL_ENTITY || ret->etype == XML_INTERNAL_PARAMETER_ENTITY || ret->etype == XML_INTERNAL_PREDEFINED_ENTITY) {
/* Predefined entities will expand unless no cdata handler is present */
- if (parser->h_default && ! (ret && ret->etype == XML_INTERNAL_PREDEFINED_ENTITY && parser->h_cdata)) {