libebml: upstream fix for gcc-11

+10 -1
+10 -1
pkgs/development/libraries/libebml/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, pkg-config }: 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, cmake, pkg-config }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libebml"; ··· 10 10 rev = "release-${version}"; 11 11 sha256 = "1hiilnabar826lfxsaflqjhgsdli6hzzhjv8q2nmw36fvvlyks25"; 12 12 }; 13 + 14 + patches = [ 15 + # Upstream fix for gcc-11 16 + (fetchpatch { 17 + url = "https://github.com/Matroska-Org/libebml/commit/f0bfd53647961e799a43d918c46cf3b6bff89806.patch"; 18 + sha256 = "1yd6rsds03kwx5jki4hihd2bpfh26g5l1pi82qzaqzarixdxwzvl"; 19 + excludes = [ "ChangeLog" ]; 20 + }) 21 + ]; 13 22 14 23 nativeBuildInputs = [ cmake pkg-config ]; 15 24