diff options
author | Peter Hoeg <peter@hoeg.com> | 2020-10-29 13:26:44 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2020-10-29 17:06:07 +0800 |
commit | 0cc9ad72d46f19292d3fae576c77edc547aafab2 (patch) | |
tree | 08441318cd80ff97535d282bd64e6732679d6952 | |
parent | a74a5c9d9237abfe8c2312e9ca9e2574cbab9e58 (diff) |
ffmpeg-full: patch for libsrt deprecated API
-rw-r--r-- | pkgs/development/libraries/ffmpeg-full/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/libraries/ffmpeg-full/default.nix b/pkgs/development/libraries/ffmpeg-full/default.nix index c23fb87f2fae2..df7043cd44ed7 100644 --- a/pkgs/development/libraries/ffmpeg-full/default.nix +++ b/pkgs/development/libraries/ffmpeg-full/default.nix @@ -244,6 +244,15 @@ stdenv.mkDerivation rec { pname = "ffmpeg-full"; inherit (ffmpeg) src version; + # this should go away in the next release + patches = [ + (fetchpatch { + url = "https://git.videolan.org/?p=ffmpeg.git;a=patch;h=7c59e1b0f285cd7c7b35fcd71f49c5fd52cf9315"; + sha256 = "sha256-dqpmpDFETTuWHWolMoLaubU4BeDEuQaBNA0wmzL1f8o="; + name = "fix_libsrt.patch"; + }) + ]; + prePatch = '' patchShebangs . '' + stdenv.lib.optionalString stdenv.isDarwin '' |