libx11: add patch for CVE-2026-88806

closes https://github.com/NixOS/nixpkgs/issues/565742
This commit is contained in:
quantenzitrone
2026-09-22 20:46:11 +02:00
committed by Vladimír Čunát
parent 6774f7bc25
commit 646296bcb7

View File

@@ -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 ];