Skip to content

Commit 449e3a7

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

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

pkgs/package-overrides.nix

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,17 @@ 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 (lib.versionAtLeast prev.php.version "8.1" && lib.versionOlder prev.php.version "8.2")
187+
[
188+
(pkgs.fetchpatch {
189+
url = "https://github.com/php/php-src/commit/d6e70e705323a50b616ffee9402245ab97de3e4e.patch";
190+
hash = "sha256-Axu09l3uQ83qe30aDsR+Bt29cJiF4mLknwDyQf94vic=";
191+
includes = [
192+
"ext/dom/tests/gh10234.phpt"
193+
];
194+
})
184195
];
185196
in
186197
ourPatches ++ upstreamPatches;

0 commit comments

Comments
 (0)