php81.extensions.dom: Fix build with libxml2 2.12
This commit is contained in:
parent
f85fe5fc29
commit
c1dce2f654
1 changed files with 11 additions and 0 deletions
|
@ -370,6 +370,17 @@ lib.makeScope pkgs.newScope (self: with self; {
|
|||
configureFlags = [
|
||||
"--enable-dom"
|
||||
];
|
||||
patches = lib.optionals (lib.versionOlder php.version "8.2.14") [
|
||||
# Fix tests with libxml 2.12
|
||||
# Part of 8.3.1RC1+, 8.2.14RC1+
|
||||
(fetchpatch {
|
||||
url = "https://github.com/php/php-src/commit/061058a9b1bbd90d27d97d79aebcf2b5029767b0.patch";
|
||||
hash = "sha256-0hOlAG+pOYp/gUU0MUMZvzWpgr0ncJi5GB8IeNxxyEU=";
|
||||
excludes = [
|
||||
"NEWS"
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
||||
{
|
||||
name = "enchant";
|
||||
|
|
Loading…
Reference in a new issue