ffmpeg-3.4: apply fix CVE CVE-2017-16840

Details at [1].

[1] http://git.videolan.org/?p=ffmpeg.git;a=commit;h=a94cb36ab2ad99d3a1331c9f91831ef593d94f74
This commit is contained in:
Andreas Rammhold 2017-11-28 00:14:05 +01:00
parent 7a87f165eb
commit 2492f45565
No known key found for this signature in database
GPG Key ID: E432E410B5E48C86

View File

@ -1,4 +1,4 @@
{ stdenv, callPackage
{ stdenv, callPackage, fetchpatch
# Darwin frameworks
, Cocoa, CoreMedia
, ...
@ -9,4 +9,13 @@ callPackage ./generic.nix (args // rec {
branch = "3.4";
sha256 = "0pn8g3ab937ahslqd41crk0g4j4fh7kwimsrlfc0rl0pc3z132ax";
darwinFrameworks = [ Cocoa CoreMedia ];
patches = [
(fetchpatch{
name = "CVE-2017-16840.patch";
url = "http://git.videolan.org/?p=ffmpeg.git;a=patch;h=a94cb36ab2ad99d3a1331c9f91831ef593d94f74";
sha256 = "1rjr9lc71cyy43wsa2zxb9ygya292h9jflvr5wk61nf0vp97gjg3";
})
];
})