mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
libx11: add patch for CVE-2026-88806
closes https://github.com/NixOS/nixpkgs/issues/565742
This commit is contained in:
committed by
Vladimír Čunát
parent
6774f7bc25
commit
646296bcb7
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
fetchpatch,
|
||||
buildPackages,
|
||||
pkg-config,
|
||||
xorgproto,
|
||||
@@ -26,6 +27,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-aWBvSFwsB8FO9k91t7sybUhYevM3ldmrPmB8C1+U8Rw=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# fixes CVE-2026-88806
|
||||
(fetchpatch {
|
||||
url = "https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/6d4432b13c0b3b6a644c13de9c793a14db48d545.patch";
|
||||
hash = "sha256-ahsf/DYeaOjkd9TcH9ZkfzB9qAaj4jRNi1AGyjoIycY=";
|
||||
})
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
|
||||
Reference in New Issue
Block a user