avidemux: backport binutils-2.41 fix for bundled ffmpeg

+11 -1
+11 -1
pkgs/applications/video/avidemux/default.nix
··· 1 - { stdenv, lib, fetchurl, cmake, pkg-config 2 , zlib, gettext, libvdpau, libva, libXv, sqlite 3 , yasm, freetype, fontconfig, fribidi 4 , makeWrapper, libXext, libGLU, qttools, qtbase, wrapQtAppsHook ··· 36 ./dynamic_install_dir.patch 37 ./bootstrap_logging.patch 38 ]; 39 40 nativeBuildInputs = 41 [ yasm cmake pkg-config makeWrapper ]
··· 1 + { stdenv, lib, fetchurl, fetchpatch, cmake, pkg-config 2 , zlib, gettext, libvdpau, libva, libXv, sqlite 3 , yasm, freetype, fontconfig, fribidi 4 , makeWrapper, libXext, libGLU, qttools, qtbase, wrapQtAppsHook ··· 36 ./dynamic_install_dir.patch 37 ./bootstrap_logging.patch 38 ]; 39 + 40 + postPatch = '' 41 + cp ${fetchpatch { 42 + # Backport fix for binutils-2.41. 43 + name = "binutils-2.41.patch"; 44 + url = "https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/effadce6c756247ea8bae32dc13bb3e6f464f0eb"; 45 + hash = "sha256-s9PcYbt0mFb2wvgMcFL1J+2OS6Sxyd2wYkGzLr2qd9M="; 46 + stripLen = 1; 47 + }} avidemux_core/ffmpeg_package/patches/ 48 + ''; 49 50 nativeBuildInputs = 51 [ yasm cmake pkg-config makeWrapper ]