lol

Merge pull request #284491 from LeSuisse/libredwg-CVE-2023-26157

libredwg: apply patch for CVE-2023-26157

authored by

Nick Cao and committed by
GitHub
41ba20eb c3579505

+9
+9
pkgs/development/libraries/libredwg/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , autoreconfHook 5 6 , writeShellScript 6 7 , pkg-config ··· 26 27 hash = "sha256-TM+cZ7N5PD6UG9cvy0XFa0sNYc3apbAJvEMh3husjRk="; 27 28 fetchSubmodules = true; 28 29 }; 30 + 31 + patches = [ 32 + (fetchpatch { 33 + name = "CVE-2023-26157.patch"; 34 + url = "https://github.com/LibreDWG/libredwg/commit/c8cf03ce4c2315b146caf582ea061c0460193bcc.patch"; 35 + hash = "sha256-EEF3YYPW+6SvXRiAw3zz6tWU9w/qmGtc09Tf8wn7hVc="; 36 + }) 37 + ]; 29 38 30 39 postPatch = let 31 40 printVersion = writeShellScript "print-version" ''