kodi: backport binutils-2.41 fix for bundled ffmpeg

+11 -1
+11 -1
pkgs/applications/video/kodi/unwrapped.nix
··· 1 - { stdenv, lib, fetchFromGitHub, autoconf, automake, libtool, makeWrapper 1 + { stdenv, lib, fetchFromGitHub 2 + , fetchpatch 3 + , autoconf, automake, libtool, makeWrapper 2 4 , pkg-config, cmake, yasm, python3Packages 3 5 , libxcrypt, libgcrypt, libgpg-error, libunistring 4 6 , boost, avahi, lame ··· 62 64 rev = "${version}-${rel}-Alpha1"; 63 65 sha256 = "sha256-EQHmmWnDw+/udKYq7Nrf00nL7I5XWUtmzdauDryfTII="; 64 66 }; 67 + patches = [ 68 + # Backport fix for binutils-2.41. 69 + (fetchpatch { 70 + name = "binutils-2.41.patch"; 71 + url = "https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/effadce6c756247ea8bae32dc13bb3e6f464f0eb"; 72 + hash = "sha256-vlBUMJ1bORQHRNpuzc5iXsTWwS/CN5BmGIA8g7H7mJE="; 73 + }) 74 + ]; 65 75 preConfigure = '' 66 76 cp ${kodi_src}/tools/depends/target/ffmpeg/{CMakeLists.txt,*.cmake} . 67 77 sed -i 's/ --cpu=''${CPU}//' CMakeLists.txt