1
0
forked from ports/opt

php: update to 8.3.1

This commit is contained in:
Juergen Daubert 2023-12-23 15:47:56 +01:00
parent abd5486326
commit 67e302802d
29 changed files with 57 additions and 276 deletions

View File

@ -1,6 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/X0PAXjD5XguAbFL2rq/aLjYyyGP0YGFYaanlEPK2PT6xfILiUyWmAyOVFwbwV/GObT+NP9K3RnahomI0Zg42wc=
SHA256 (Pkgfile) = d51b4180d03624d057be042760342a97b10c8d60cb28b99cbdb91c42a59aebd2
RWSE3ohX2g5d/bWJikEpeZygIKmqV8tk4nuORgFoH89jc7BWevaQxIzLjsPhk93Ia3GlokQMJa8kXNoTY0JyNiUErpAE0FPQ6wI=
SHA256 (Pkgfile) = cddf50b53ac14fa92d44b4a90651867c15f71794e22668ad0509aa26689f5c20
SHA256 (.footprint) = 7fa4482315662d626464b194385ae557ec401ff110bea6d24f6f48efc315ceba
SHA256 (php-8.2.13.tar.xz) = 2629bba10117bf78912068a230c68a8fd09b7740267bd8ebd3cfce91515d454b
SHA256 (libxml2-2.12.patch) = ccbd0a55805ee931de45933e45514f6cb7c478ebf0d3213f702bb39715e8c36a
SHA256 (php-8.3.1.tar.xz) = 56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758

View File

@ -4,16 +4,13 @@
# Depends on: apache libpcre2
name=mod_php
version=8.2.13
version=8.3.1
release=1
source=(https://php.net/distributions/php-$version.tar.xz
libxml2-2.12.patch)
source=(https://php.net/distributions/php-$version.tar.xz)
build() {
cd php-$version
patch -p1 -i $SRC/libxml2-2.12.patch
# to be compatible with our other php ports, don't build
# for a threaded MPM (ZTS). Use only the prefork MPM!
sed -i '/APACHE_THREADED_MPM=/d' configure

View File

@ -1,52 +0,0 @@
From 6a76e5d0a2dcf46b4ab74cc3ffcbfeb860c4fdb3 Mon Sep 17 00:00:00 2001
From: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
Date: Fri, 17 Nov 2023 19:45:40 +0100
Subject: [PATCH] Fix GH-12702: libxml2 2.12.0 issue building from src
Fixes GH-12702.
Co-authored-by: nono303 <github@nono303.net>
---
NEWS | 3 +++
ext/dom/document.c | 1 +
ext/libxml/php_libxml.h | 1 +
3 files changed, 5 insertions(+)
diff --git a/NEWS b/NEWS
index 8c2485d1a6549..60696c704feae 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,9 @@ PHP NEWS
- Intl:
. Fixed bug GH-12635 (Test bug69398.phpt fails with ICU 74.1). (nielsdos)
+- LibXML:
+ . Fixed bug GH-12702 (libxml2 2.12.0 issue building from src). (nono303)
+
- PCRE:
. Fixed bug GH-12628 (The gh11374 test fails on Alpinelinux). (nielsdos)
diff --git a/ext/dom/document.c b/ext/dom/document.c
index 59f00897a69aa..8312d6c59399f 100644
--- a/ext/dom/document.c
+++ b/ext/dom/document.c
@@ -23,6 +23,7 @@
#if defined(HAVE_LIBXML) && defined(HAVE_DOM)
#include "php_dom.h"
#include <libxml/SAX.h>
+#include <libxml/xmlsave.h>
#ifdef LIBXML_SCHEMAS_ENABLED
#include <libxml/relaxng.h>
#include <libxml/xmlschemas.h>
diff --git a/ext/libxml/php_libxml.h b/ext/libxml/php_libxml.h
index c0775a07f5dcc..a1011f0b17858 100644
--- a/ext/libxml/php_libxml.h
+++ b/ext/libxml/php_libxml.h
@@ -35,6 +35,7 @@ extern zend_module_entry libxml_module_entry;
#include "zend_smart_str.h"
#include <libxml/tree.h>
+#include <libxml/parser.h>
#define LIBXML_SAVE_NOEMPTYTAG 1<<2

View File

@ -1,7 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/TMntJH+dMWldbkth1XRqv2x7dmX2wmtqoHDEDeojw3CrUP3cptUEcK/Yg33N73eUB4HNV1VQRt4cawdxkEaMgg=
SHA256 (Pkgfile) = 68d851d9b5785bf7e387c711bef4e86b23cbe1e49d13f9945e89a8b180580abe
RWSE3ohX2g5d/eJenPOYn54+J69MXURRkYgWug9Xa8My3A6cm5aVmKbMEhllgOCylwnS61rUk0Iy/i+14+v8qAilTwwJzJ3iUQo=
SHA256 (Pkgfile) = 5b43a655cf14175b28b79d8a7f020422aa1e0f7424b317a1e6e240501bb7c43a
SHA256 (.footprint) = 073d817f449e60b58f4c904bd4ef54ddad9bd0ab946ee178956622bf76d5501b
SHA256 (php-8.2.13.tar.xz) = 2629bba10117bf78912068a230c68a8fd09b7740267bd8ebd3cfce91515d454b
SHA256 (php-8.3.1.tar.xz) = 56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758
SHA256 (php-fcgi) = 058feaf2d8ad8ed61a4191512eb2151b8ed87fd92ce469ee8bab1812c0cb6471
SHA256 (libxml2-2.12.patch) = ccbd0a55805ee931de45933e45514f6cb7c478ebf0d3213f702bb39715e8c36a

View File

@ -4,16 +4,14 @@
# Depends on: libpcre2 libxml2
name=php-fcgi
version=8.2.13
version=8.3.1
release=1
source=(https://php.net/distributions/php-$version.tar.xz
php-fcgi libxml2-2.12.patch)
php-fcgi)
build() {
cd php-$version
patch -p1 -i $SRC/libxml2-2.12.patch
local PHP_CONFIG="
--prefix=/usr \
--with-config-file-path=/etc/php \

View File

@ -1,52 +0,0 @@
From 6a76e5d0a2dcf46b4ab74cc3ffcbfeb860c4fdb3 Mon Sep 17 00:00:00 2001
From: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
Date: Fri, 17 Nov 2023 19:45:40 +0100
Subject: [PATCH] Fix GH-12702: libxml2 2.12.0 issue building from src
Fixes GH-12702.
Co-authored-by: nono303 <github@nono303.net>
---
NEWS | 3 +++
ext/dom/document.c | 1 +
ext/libxml/php_libxml.h | 1 +
3 files changed, 5 insertions(+)
diff --git a/NEWS b/NEWS
index 8c2485d1a6549..60696c704feae 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,9 @@ PHP NEWS
- Intl:
. Fixed bug GH-12635 (Test bug69398.phpt fails with ICU 74.1). (nielsdos)
+- LibXML:
+ . Fixed bug GH-12702 (libxml2 2.12.0 issue building from src). (nono303)
+
- PCRE:
. Fixed bug GH-12628 (The gh11374 test fails on Alpinelinux). (nielsdos)
diff --git a/ext/dom/document.c b/ext/dom/document.c
index 59f00897a69aa..8312d6c59399f 100644
--- a/ext/dom/document.c
+++ b/ext/dom/document.c
@@ -23,6 +23,7 @@
#if defined(HAVE_LIBXML) && defined(HAVE_DOM)
#include "php_dom.h"
#include <libxml/SAX.h>
+#include <libxml/xmlsave.h>
#ifdef LIBXML_SCHEMAS_ENABLED
#include <libxml/relaxng.h>
#include <libxml/xmlschemas.h>
diff --git a/ext/libxml/php_libxml.h b/ext/libxml/php_libxml.h
index c0775a07f5dcc..a1011f0b17858 100644
--- a/ext/libxml/php_libxml.h
+++ b/ext/libxml/php_libxml.h
@@ -35,6 +35,7 @@ extern zend_module_entry libxml_module_entry;
#include "zend_smart_str.h"
#include <libxml/tree.h>
+#include <libxml/parser.h>
#define LIBXML_SAVE_NOEMPTYTAG 1<<2

View File

@ -1,7 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/c7c/jDqXA+xIPgXdwV+ajzDgDGvEIMsHiWrGFL3hPSXyYWprCV9QQbHM0vcgcWo8YwCBmBDXmDVfJglTJj8LQk=
SHA256 (Pkgfile) = a4725d2211301c9353298bf9c9b8019ec55174d53840eec2d2bd99ce643b6422
RWSE3ohX2g5d/SmDkkMOQhEa4imBlfyLWUHGr4HaDbOOwpFi77XH8YJLpeyN0ORePLMKOMMvwBkVQW5p1jRst3LjCYjI0ZXPSgg=
SHA256 (Pkgfile) = 9f85f778bff47416bb02b381c2c733ced50e06ec37b3d580672a6e6041522caa
SHA256 (.footprint) = a26b7d8af42742c284dd40e96fb4c4d1ba451ac9bf4f714c8f12fb6975ffa5fe
SHA256 (php-8.2.13.tar.xz) = 2629bba10117bf78912068a230c68a8fd09b7740267bd8ebd3cfce91515d454b
SHA256 (php-8.3.1.tar.xz) = 56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758
SHA256 (php-fpm) = 0dff1add3241de5ae058c3339d98c900b2a4082007dc3d93485cb46ca642dade
SHA256 (libxml2-2.12.patch) = ccbd0a55805ee931de45933e45514f6cb7c478ebf0d3213f702bb39715e8c36a

View File

@ -4,16 +4,14 @@
# Depends on: libpcre2 libxml2
name=php-fpm
version=8.2.13
version=8.3.1
release=1
source=(https://php.net/distributions/php-$version.tar.xz
php-fpm libxml2-2.12.patch)
php-fpm)
build() {
cd php-$version
patch -p1 -i $SRC/libxml2-2.12.patch
local PHP_CONFIG="
--prefix=/usr \
--sysconfdir=/etc/php \

View File

@ -1,52 +0,0 @@
From 6a76e5d0a2dcf46b4ab74cc3ffcbfeb860c4fdb3 Mon Sep 17 00:00:00 2001
From: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
Date: Fri, 17 Nov 2023 19:45:40 +0100
Subject: [PATCH] Fix GH-12702: libxml2 2.12.0 issue building from src
Fixes GH-12702.
Co-authored-by: nono303 <github@nono303.net>
---
NEWS | 3 +++
ext/dom/document.c | 1 +
ext/libxml/php_libxml.h | 1 +
3 files changed, 5 insertions(+)
diff --git a/NEWS b/NEWS
index 8c2485d1a6549..60696c704feae 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,9 @@ PHP NEWS
- Intl:
. Fixed bug GH-12635 (Test bug69398.phpt fails with ICU 74.1). (nielsdos)
+- LibXML:
+ . Fixed bug GH-12702 (libxml2 2.12.0 issue building from src). (nono303)
+
- PCRE:
. Fixed bug GH-12628 (The gh11374 test fails on Alpinelinux). (nielsdos)
diff --git a/ext/dom/document.c b/ext/dom/document.c
index 59f00897a69aa..8312d6c59399f 100644
--- a/ext/dom/document.c
+++ b/ext/dom/document.c
@@ -23,6 +23,7 @@
#if defined(HAVE_LIBXML) && defined(HAVE_DOM)
#include "php_dom.h"
#include <libxml/SAX.h>
+#include <libxml/xmlsave.h>
#ifdef LIBXML_SCHEMAS_ENABLED
#include <libxml/relaxng.h>
#include <libxml/xmlschemas.h>
diff --git a/ext/libxml/php_libxml.h b/ext/libxml/php_libxml.h
index c0775a07f5dcc..a1011f0b17858 100644
--- a/ext/libxml/php_libxml.h
+++ b/ext/libxml/php_libxml.h
@@ -35,6 +35,7 @@ extern zend_module_entry libxml_module_entry;
#include "zend_smart_str.h"
#include <libxml/tree.h>
+#include <libxml/parser.h>
#define LIBXML_SAVE_NOEMPTYTAG 1<<2

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/T5t5L2zEjx8A4L5nVpxH8krzdmTfnktmkcx1pBOotmVLAOonvIEAVXDWusI248uqtS1DCIDQ7GYKOr2YRE77Q4=
SHA256 (Pkgfile) = c09e2a7e30e67931dceb8a92dc68bf94d7ed09cc102c3759c01c0c691b3103c4
RWSE3ohX2g5d/cmLhvGCYLmtbFWxfaXoydfjxWwPNCiJup4KxYpWykhpnzXWEtbeDQIh6nC1/P3SCfViQmoGbVODvu/XC/8mOgs=
SHA256 (Pkgfile) = 58070c6159b9dcc78521b97445d64abbd03071747e66e553c823c205f48c2e01
SHA256 (.footprint) = 4b6e9e791f10bb007a541c6a4cfe6a189d549592939bdf3e04c5bd0f25a4bfa0
SHA256 (php-8.2.13.tar.xz) = 2629bba10117bf78912068a230c68a8fd09b7740267bd8ebd3cfce91515d454b
SHA256 (php-8.3.1.tar.xz) = 56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758

View File

@ -3,7 +3,7 @@
# Maintainer: Juergen Daubert, jue at crux dot nu
name=php-ftp
version=8.2.13
version=8.3.1
release=1
source=(https://www.php.net/distributions/php-$version.tar.xz)

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/ezHt03RGKTLHpP/Kj7tiyXHtwKJ8TuOgXmr+TYf50lsaXCQRPaQJSRa6qUVbOV4K+HGGeoZ7JrRW6T2dwaoEA4=
SHA256 (Pkgfile) = 0e6a9ffcfdd3d27c11ae1443eca05f6f52dc7bc68cb7cb82d66d917d6a337738
RWSE3ohX2g5d/W1Qpw74od34Cz/j44md3pfyQcCB6gTBxcMWDecsDUzknsbceyMb1+0c0K8r0vYTgbhdZc6EBBy28N9SkqRGGAI=
SHA256 (Pkgfile) = 9593fa931da31aec1e1dc624aabd26b1d3d7e262576e0bed470b3952f6588394
SHA256 (.footprint) = 09e41333252c613bbc54155a95e91919aedf35e3fe90607f941528ac9f1a39bb
SHA256 (php-8.2.13.tar.xz) = 2629bba10117bf78912068a230c68a8fd09b7740267bd8ebd3cfce91515d454b
SHA256 (php-8.3.1.tar.xz) = 56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758

View File

@ -4,7 +4,7 @@
# Depends on: libgd
name=php-gd
version=8.2.13
version=8.3.1
release=1
source=(https://www.php.net/distributions/php-$version.tar.xz)

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/VgTb1MEydzeRbINMfVPJFpNv+0vgDD7XEQ8w/dYcBM9ToizTqmySbM25/uFUTL4W0dyYH+U21iC5Zfe6+kJrA0=
SHA256 (Pkgfile) = 37473c080dc1ba709b7545b959ad943a64fab26674b2e0744f83b14e3b8c416b
RWSE3ohX2g5d/RAi9fcEolwJRYtcGCTcqd2eiIPdfnCb3a/VRc880ISWqFhcFjATAkOgzFhoLSM0tOV7RdCHXA3tcyk44xn7zw8=
SHA256 (Pkgfile) = 58d987778e1d1c1b9a81daf3af991fafada36bfda05f48b0d394529336678711
SHA256 (.footprint) = f2188408bdd37cf12c2eb9ef545b934e6a10d8faf52d3b961cd6c7649bdfaf9a
SHA256 (php-8.2.13.tar.xz) = 2629bba10117bf78912068a230c68a8fd09b7740267bd8ebd3cfce91515d454b
SHA256 (php-8.3.1.tar.xz) = 56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758

View File

@ -3,7 +3,7 @@
# Maintainer: Juergen Daubert, jue at crux dot nu
name=php-gettext
version=8.2.13
version=8.3.1
release=1
source=(https://www.php.net/distributions/php-$version.tar.xz)

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/bRevQQUuFHmwhG9qdqEcx4BXP7843aGhXyJMJFHAR2QSC7cX1K4hOnZpLLcw2kKEprmpxu9n1ccCkjpwg8PcAM=
SHA256 (Pkgfile) = 33f1061de076cbc667660d64d5a57fec3344bec40857b8d7acdef15529cd6eff
RWSE3ohX2g5d/ZmqGWJDB1qlmXCTM4whwqTSo4qIl/lhhUiPV2Z5FPd3w8SjyfRDMn0R4iz6ocfFHTamHKXSw1b/k0utQEponAA=
SHA256 (Pkgfile) = 7d19be6d31c8b25ac9a5377cf1b47707f30e5972c974a86a12f4f367fd92651b
SHA256 (.footprint) = 4a444295762f936750fb32f977171aecc73d9347bf51bace13d7f9dfc200812e
SHA256 (php-8.2.13.tar.xz) = 2629bba10117bf78912068a230c68a8fd09b7740267bd8ebd3cfce91515d454b
SHA256 (php-8.3.1.tar.xz) = 56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758

View File

@ -4,7 +4,7 @@
# Depends on: oniguruma libpcre2
name=php-mbstring
version=8.2.13
version=8.3.1
release=1
source=(https://www.php.net/distributions/php-$version.tar.xz)

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/btnYKi2v1sS5grFoJ+Bc80/ZytD4cp8iTX7gJYb9vRA85UJM5BXOsNR8kGrZI+tG3j0xEmQNmEkWQhERYNzoQY=
SHA256 (Pkgfile) = 24e7c93ca5c75b88b9e457462082241cbc9b97c8533c01588a073d26b3e2e4ec
RWSE3ohX2g5d/RLBDGpOPIRo9fkwmND39aWJZfHIFHnzYjSwjtezsNrjdobMV67mk1B2DWIOGc0Z5X9TxbDd5+XWT+PFXAqwQQE=
SHA256 (Pkgfile) = 7d96f63adcfc587645bde8756adb16ebb839496838377f38d35fbdf72ddaf1fb
SHA256 (.footprint) = 0500f66a60a1c3d5951694c22f29e7e34a6dbc8e5a1487119ff56db1ea7cdda3
SHA256 (php-8.2.13.tar.xz) = 2629bba10117bf78912068a230c68a8fd09b7740267bd8ebd3cfce91515d454b
SHA256 (php-8.3.1.tar.xz) = 56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758

View File

@ -4,7 +4,7 @@
# Depends on: mariadb
name=php-mysql
version=8.2.13
version=8.3.1
release=1
source=(https://php.net/distributions/php-$version.tar.xz)

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/ZJ7uROdSEWMXqYTrWS0XUxlgFpm87UOCFvKGI7UG7JsGi69LMyABneclZ9Vj1cOSzJNmCrBVp5ZPAAkgRHLuwc=
SHA256 (Pkgfile) = 4c6c701314a6afa98b1688146f4410674fc9657bc1c324e7d9a4d509e469bc2a
RWSE3ohX2g5d/Qjvq4L4fZp4BEfeFGrt+2idBQ6a75c+KOVxc7KOH8xX1YGmvax/vTchgnBlm6mAvIvv318874s9d+JArvsEOQU=
SHA256 (Pkgfile) = 2f3bc1cd442d46d30bd7bf1686f740b405a82940cf1bd6680f0c49a87a280900
SHA256 (.footprint) = 1a0e33807dcda8d11408be8b6356860cac8daea5a94d4e9a87e535fbf778f04e
SHA256 (php-8.2.13.tar.xz) = 2629bba10117bf78912068a230c68a8fd09b7740267bd8ebd3cfce91515d454b
SHA256 (php-8.3.1.tar.xz) = 56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758

View File

@ -3,7 +3,7 @@
# Maintainer: Juergen Daubert, jue at crux dot nu
name=php-sockets
version=8.2.13
version=8.3.1
release=1
source=(https://www.php.net/distributions/php-$version.tar.xz)

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/QWi92jwH+NG6g5pZZCtd3TYV5+OYShLqU4IM42XCvkBaII4Xkd6fruHjVE/q22vG29Vx2FKOa13odNns8Z8xgk=
SHA256 (Pkgfile) = 2c02c449dd6551fd596f9ce044bd9ccbce8db5988a0ed444c7008b6fec0d5ea1
RWSE3ohX2g5d/eorQDO46l+7u9x7FhWKbuTwYEuj5hZlWmsPzNNI+D02H+eBYxEta7X8Ve8jt5sdZGCuzUwrmYVCPJlwsHGwPQc=
SHA256 (Pkgfile) = 3bfa6edf3f71bf5d22460cbb29652a4edd3843d95557a6b195295c31778c8f94
SHA256 (.footprint) = e626528b1bc2b3ce187cc979172f24c489075e0bc584aeb1d082b2f7197d6e49
SHA256 (php-8.2.13.tar.xz) = 2629bba10117bf78912068a230c68a8fd09b7740267bd8ebd3cfce91515d454b
SHA256 (php-8.3.1.tar.xz) = 56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758

View File

@ -4,7 +4,7 @@
# Depends on: sqlite3
name=php-sqlite3
version=8.2.13
version=8.3.1
release=1
source=(https://php.net/distributions/php-$version.tar.xz)

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/cS4Hp8DGzPR6RMyUmKBX89x3JPWXGrqotqRnNH/kZjQWSK4obl2FseetvLEfl0AXw+WDHYbg+neI38jKYhpRAg=
SHA256 (Pkgfile) = ed9a080aa81fc4539deaeea62fc35178448124c8efa5f9d14d7fd80cc4a90900
RWSE3ohX2g5d/da09JtqfbSYq3ZkMZK2NQ30yL2TvufRhRoLsIknYMaHmywsUZSOBo1jwQ2qArzIx7oZYJJ0icuDhrbzZMyB+wo=
SHA256 (Pkgfile) = e399eb83ce8cf48229d1409af3cb0a411ee7de287a286dbc0b65b6691ff0e061
SHA256 (.footprint) = 0ba08044c2d47be4c86015de875a10f15dfee8367b932c5466a0212da28e4203
SHA256 (php-8.2.13.tar.xz) = 2629bba10117bf78912068a230c68a8fd09b7740267bd8ebd3cfce91515d454b
SHA256 (php-8.3.1.tar.xz) = 56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758

View File

@ -4,7 +4,7 @@
# Depends on: libzip
name=php-zip
version=8.2.13
version=8.3.1
release=1
source=(https://www.php.net/distributions/php-$version.tar.xz)

View File

@ -40,6 +40,7 @@ drwxr-xr-x root/root usr/include/php/Zend/Optimizer/
-rw-r--r-- root/root usr/include/php/Zend/zend_build.h
-rw-r--r-- root/root usr/include/php/Zend/zend_builtin_functions.h
-rw-r--r-- root/root usr/include/php/Zend/zend_builtin_functions_arginfo.h
-rw-r--r-- root/root usr/include/php/Zend/zend_call_stack.h
-rw-r--r-- root/root usr/include/php/Zend/zend_closures.h
-rw-r--r-- root/root usr/include/php/Zend/zend_closures_arginfo.h
-rw-r--r-- root/root usr/include/php/Zend/zend_compile.h
@ -67,6 +68,7 @@ drwxr-xr-x root/root usr/include/php/Zend/Optimizer/
-rw-r--r-- root/root usr/include/php/Zend/zend_globals_macros.h
-rw-r--r-- root/root usr/include/php/Zend/zend_hash.h
-rw-r--r-- root/root usr/include/php/Zend/zend_highlight.h
-rw-r--r-- root/root usr/include/php/Zend/zend_hrtime.h
-rw-r--r-- root/root usr/include/php/Zend/zend_inheritance.h
-rw-r--r-- root/root usr/include/php/Zend/zend_ini.h
-rw-r--r-- root/root usr/include/php/Zend/zend_ini_parser.h
@ -211,7 +213,6 @@ drwxr-xr-x root/root usr/include/php/ext/standard/
-rw-r--r-- root/root usr/include/php/ext/standard/flock_compat.h
-rw-r--r-- root/root usr/include/php/ext/standard/fsock.h
-rw-r--r-- root/root usr/include/php/ext/standard/head.h
-rw-r--r-- root/root usr/include/php/ext/standard/hrtime.h
-rw-r--r-- root/root usr/include/php/ext/standard/html.h
-rw-r--r-- root/root usr/include/php/ext/standard/html_tables.h
-rw-r--r-- root/root usr/include/php/ext/standard/info.h
@ -266,6 +267,7 @@ drwxr-xr-x root/root usr/include/php/main/
-rw-r--r-- root/root usr/include/php/main/fastcgi.h
-rw-r--r-- root/root usr/include/php/main/fopen_wrappers.h
-rw-r--r-- root/root usr/include/php/main/http_status_codes.h
-rw-r--r-- root/root usr/include/php/main/main_arginfo.h
-rw-r--r-- root/root usr/include/php/main/php.h
-rw-r--r-- root/root usr/include/php/main/php_compat.h
-rw-r--r-- root/root usr/include/php/main/php_config.h
@ -299,6 +301,7 @@ drwxr-xr-x root/root usr/include/php/main/streams/
-rw-r--r-- root/root usr/include/php/main/streams/php_stream_transport.h
-rw-r--r-- root/root usr/include/php/main/streams/php_stream_userspace.h
-rw-r--r-- root/root usr/include/php/main/streams/php_streams_int.h
-rw-r--r-- root/root usr/include/php/main/streams/userspace_arginfo.h
drwxr-xr-x root/root usr/include/php/sapi/
drwxr-xr-x root/root usr/include/php/sapi/cli/
-rw-r--r-- root/root usr/include/php/sapi/cli/cli.h

View File

@ -1,6 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/RpGMMLE9Po3MZbJr8oCZ11s8lqcXakY7/inZeprHgaYdF+nWRIxE7yYBHZM0AzeUe94vzztMYJMShUVMFLqUwI=
SHA256 (Pkgfile) = 9095b1e15401e723721df3da81c4cda513e0cdce8355bb2c3c72b7abf79d822d
SHA256 (.footprint) = b82a00569ce9feb88ad50fc062ec07b9d78d9a5bd9056da14dcdbf0eba5b1115
SHA256 (php-8.2.13.tar.xz) = 2629bba10117bf78912068a230c68a8fd09b7740267bd8ebd3cfce91515d454b
SHA256 (libxml2-2.12.patch) = ccbd0a55805ee931de45933e45514f6cb7c478ebf0d3213f702bb39715e8c36a
RWSE3ohX2g5d/ROaYaPZ5zhGlOYYCMPL2X40rPn4CjyvPE+Qf7/KDxHG0bP4L+chu1LsAB8jL9TysrqT0aPUSzr3k+/cS45UCAk=
SHA256 (Pkgfile) = 491ac1d928feb1c90b375c8aa0271b257d11019a1f25736019c88b26318e1a20
SHA256 (.footprint) = 601a74c89f8419f8f4a26d07ae4e3a2c51c05f466da297a6d7a97987843a884d
SHA256 (php-8.3.1.tar.xz) = 56445b1771b2ba5b7573453f9e8a9451e2d810b1741a352fa05259733b1e9758

View File

@ -4,16 +4,13 @@
# Depends on: bzip2 libpcre2 libxml2 curl db gdbm
name=php
version=8.2.13
version=8.3.1
release=1
source=(https://php.net/distributions/php-$version.tar.xz
libxml2-2.12.patch)
source=(https://php.net/distributions/php-$version.tar.xz)
build() {
cd php-$version
patch -p1 -i $SRC/libxml2-2.12.patch
local PHP_CONFIG="
--prefix=/usr \
--mandir=/usr/share/man \

View File

@ -1,52 +0,0 @@
From 6a76e5d0a2dcf46b4ab74cc3ffcbfeb860c4fdb3 Mon Sep 17 00:00:00 2001
From: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
Date: Fri, 17 Nov 2023 19:45:40 +0100
Subject: [PATCH] Fix GH-12702: libxml2 2.12.0 issue building from src
Fixes GH-12702.
Co-authored-by: nono303 <github@nono303.net>
---
NEWS | 3 +++
ext/dom/document.c | 1 +
ext/libxml/php_libxml.h | 1 +
3 files changed, 5 insertions(+)
diff --git a/NEWS b/NEWS
index 8c2485d1a6549..60696c704feae 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,9 @@ PHP NEWS
- Intl:
. Fixed bug GH-12635 (Test bug69398.phpt fails with ICU 74.1). (nielsdos)
+- LibXML:
+ . Fixed bug GH-12702 (libxml2 2.12.0 issue building from src). (nono303)
+
- PCRE:
. Fixed bug GH-12628 (The gh11374 test fails on Alpinelinux). (nielsdos)
diff --git a/ext/dom/document.c b/ext/dom/document.c
index 59f00897a69aa..8312d6c59399f 100644
--- a/ext/dom/document.c
+++ b/ext/dom/document.c
@@ -23,6 +23,7 @@
#if defined(HAVE_LIBXML) && defined(HAVE_DOM)
#include "php_dom.h"
#include <libxml/SAX.h>
+#include <libxml/xmlsave.h>
#ifdef LIBXML_SCHEMAS_ENABLED
#include <libxml/relaxng.h>
#include <libxml/xmlschemas.h>
diff --git a/ext/libxml/php_libxml.h b/ext/libxml/php_libxml.h
index c0775a07f5dcc..a1011f0b17858 100644
--- a/ext/libxml/php_libxml.h
+++ b/ext/libxml/php_libxml.h
@@ -35,6 +35,7 @@ extern zend_module_entry libxml_module_entry;
#include "zend_smart_str.h"
#include <libxml/tree.h>
+#include <libxml/parser.h>
#define LIBXML_SAVE_NOEMPTYTAG 1<<2