Skip to content

Commit cd13553

Browse files
committed
fix: backport patch from upstream
1 parent 0694588 commit cd13553

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pkgs/package-overrides.nix

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,18 @@ in
181181
# Patch rebased from https://github.com/php/php-src/commit/0a39890c967aa57225bb6bdf4821aff7a3a3c082
182182
# Fix compilation errors with libxml2 2.12
183183
./patches/libxml-ext.patch
184+
]
185+
++
186+
lib.optionals
187+
(lib.versionAtLeast prev.php.version "8.1" && lib.versionOlder prev.php.version "8.2")
188+
[
189+
(pkgs.fetchpatch {
190+
url = "https://github.com/php/php-src/commit/d6e70e705323a50b616ffee9402245ab97de3e4e.patch";
191+
hash = "sha256-Axu09l3uQ83qe30aDsR+Bt29cJiF4mLknwDyQf94vic=";
192+
includes = [
193+
"ext/dom/tests/gh10234.phpt"
194+
];
195+
})
184196
];
185197
in
186198
ourPatches ++ upstreamPatches;

0 commit comments

Comments
 (0)