cvs: apply darwin patch

Fixes #36532
This commit is contained in:
Matthew Bauer 2018-04-12 00:13:25 -05:00
parent 30fc4b4489
commit e49f601b7f

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, nano }: { stdenv, fetchurl, fetchpatch, nano }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "cvs-1.12.13"; name = "cvs-1.12.13";
@ -12,6 +12,10 @@ stdenv.mkDerivation {
./getcwd-chroot.patch ./getcwd-chroot.patch
./CVE-2012-0804.patch ./CVE-2012-0804.patch
./CVE-2017-12836.patch ./CVE-2017-12836.patch
(fetchpatch {
url = "https://raw.githubusercontent.com/Homebrew/formula-patches/24118ec737c7/cvs/vasnprintf-high-sierra-fix.diff";
sha256 = "1ql6aaia7xkfq3vqhlw5bd2z2ywka82zk01njs1b2szn699liymg";
})
]; ];
hardeningDisable = [ "fortify" "format" ]; hardeningDisable = [ "fortify" "format" ];