summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/archivers/sharutils
diff options
context:
space:
mode:
authorLuka Blaskovic <lblasc@tvbeat.com>2019-08-12 12:44:07 +0000
committerLuka Blaskovic <lblasc@tvbeat.com>2020-01-14 08:26:59 +0000
commit89590eb7bf08f279c0e65bfaf4ffdd6ca283f8a4 (patch)
treefd2394f3a313b2f79b47a81fa8afaa0da3b9b775 /pkgs/tools/archivers/sharutils
parent820a197b5fee32f946f7cfba2010ce28c8d07a4f (diff)
sharutils: fix build with glibc>=2.28
Diffstat (limited to 'pkgs/tools/archivers/sharutils')
-rw-r--r--pkgs/tools/archivers/sharutils/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/archivers/sharutils/default.nix b/pkgs/tools/archivers/sharutils/default.nix
index 0dfd234bc758..b4fc2377f0e4 100644
--- a/pkgs/tools/archivers/sharutils/default.nix
+++ b/pkgs/tools/archivers/sharutils/default.nix
@@ -25,6 +25,10 @@ stdenv.mkDerivation rec {
url = "https://sources.debian.org/data/main/s/sharutils/1:4.15.2-2+deb9u1/debian/patches/01-fix-heap-buffer-overflow-cve-2018-1000097.patch";
sha256 = "19g0sxc8g79aj5gd5idz5409311253jf2q8wqkasf0handdvsbxx";
})
+ (fetchurl {
+ url = "https://sources.debian.org/data/main/s/sharutils/1:4.15.2-4/debian/patches/02-fix-ftbfs-with-glibc-2.28.patch";
+ sha256 = "15kpjqnfs98n6irmkh8pw7masr08xala7gx024agv7zv14722vkc";
+ })
];
postPatch = let