mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
php{83,83}Extensions.simplexml: apply upstream patch for libxml2 2.13 compatibility
This commit is contained in:
parent
d2c6d36823
commit
ff6f05d3cf
@ -617,6 +617,19 @@ in {
|
||||
configureFlags = [
|
||||
"--enable-simplexml"
|
||||
];
|
||||
patches = lib.optionals (lib.versions.majorMinor php.version == "8.2" && lib.versionOlder php.version "8.2.22") [
|
||||
# Fixes compatibility with libxml2 2.13. Part of 8.3.10RC1+, 8.2.22RC1+
|
||||
(fetchpatch {
|
||||
url = "https://github.com/php/php-src/commit/4fe821311cafb18ca8bdf20b9d796c48a13ba552.diff?full_index=1";
|
||||
hash = "sha256-YC3I0BQi3o3+VmRu/UqpqPpaSC+ekPqzbORTHftbPvY=";
|
||||
})
|
||||
] ++ lib.optionals (lib.versions.majorMinor php.version == "8.3" && lib.versionOlder php.version "8.3.10") [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/php/php-src/commit/ecf0bb0fd12132d853969c5e9a212e5f627f2da2.diff?full_index=1";
|
||||
hash = "sha256-sodGODHb4l04P0srn3L8l3K+DjZzCsCNbamfkmIyF+k=";
|
||||
excludes = [ "NEWS" ];
|
||||
})
|
||||
];
|
||||
}
|
||||
{
|
||||
name = "snmp";
|
||||
|
Loading…
Reference in New Issue
Block a user