mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
libxml2: use fetchpatch instead of fetchpatch2
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
lib,
|
||||
callPackage,
|
||||
fetchFromGitLab,
|
||||
fetchpatch2,
|
||||
fetchpatch,
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -20,15 +20,15 @@ let
|
||||
# same as upstream patch but fixed conflict and added required import:
|
||||
# https://gitlab.gnome.org/GNOME/libxml2/-/commit/acbbeef9f5dcdcc901c5f3fa14d583ef8cfd22f0.diff
|
||||
./CVE-2025-6021.patch
|
||||
(fetchpatch2 {
|
||||
(fetchpatch {
|
||||
name = "CVE-2025-49794-49796.patch";
|
||||
url = "https://gitlab.gnome.org/GNOME/libxml2/-/commit/f7ebc65f05bffded58d1e1b2138eb124c2e44f21.patch";
|
||||
hash = "sha256-k+IGq6pbv9EA7o+uDocEAUqIammEjLj27Z+2RF5EMrs=";
|
||||
hash = "sha256-p5Vc/lkakHKsxuFNnCQtFczjqFJBeLnCwIwv2GnrQco=";
|
||||
})
|
||||
(fetchpatch2 {
|
||||
(fetchpatch {
|
||||
name = "CVE-2025-49795.patch";
|
||||
url = "https://gitlab.gnome.org/GNOME/libxml2/-/commit/c24909ba2601848825b49a60f988222da3019667.patch";
|
||||
hash = "sha256-r7PYKr5cDDNNMtM3ogNLsucPFTwP/uoC7McijyLl4kU=";
|
||||
hash = "sha256-vICVSb+X89TTE4QY92/v/6fRk77Hy9vzEWWsADHqMlk=";
|
||||
excludes = [ "runtest.c" ]; # tests were rewritten in C and are on schematron for 2.13.x, meaning this does not apply
|
||||
})
|
||||
# same as upstream, fixed conflicts
|
||||
@@ -62,9 +62,9 @@ let
|
||||
# Fixes a regression in attribute normalization.
|
||||
# Also see https://www.postgresql.org/message-id/flat/0756AC61-FBA3-46E2-B3C2-19B58B65EBDC%2540yesql.se
|
||||
# To be removed with 2.15.1.
|
||||
(fetchpatch2 {
|
||||
(fetchpatch {
|
||||
url = "https://gitlab.gnome.org/GNOME/libxml2/-/commit/da45a190f718e8e2f0e3d2a6325ffa23abc8b90c.patch";
|
||||
hash = "sha256-dE5DxkP+LBZ8N5V3x02Q1xOU9IXDvvr64xzcln0QH0E=";
|
||||
hash = "sha256-wqmFszr7w1Lte12YR6Ug7Ng7fXABzizwUsJU1EhylgU=";
|
||||
})
|
||||
];
|
||||
extraMeta = {
|
||||
|
||||
Reference in New Issue
Block a user