libarchive: *permanently* fix patch source and hash

Unfortunately github's *.patch URIs contain version of git generating them,
which changes from time to time. It seems that *.diff doesn't suffer from that.
This commit is contained in:
Vladimír Čunát 2014-03-15 17:00:10 +01:00
parent ff6febb75d
commit c814dab2ee

View File

@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
};
patches = [(fetchurl {
url = "https://github.com/libarchive/libarchive/commit/22531545514043e04633e1c015c7540b9de9dbe4.patch";
sha256 = "1y649pvilwx4jpjhyq5pfs2jb0ay01ylrn1y8098v785z0j82wml";
url = "https://github.com/libarchive/libarchive/commit/22531545514043e04633e1c015c7540b9de9dbe4.diff";
sha256 = "1466ddrkdh2r8idmj3v7fk2gwnhc1kdxvyczdpnqms0qlmas6fj5";
name = "CVE-2013-0211.patch";
})];