pkgsi686Linux.mumble: fix build

Fixes 'static assertion failed: static_assert(sizeof(CCameraAngles) == 0x408, "");'
when compiling pkgsi686Linux.mumble, which is a dependency of x64 mumble_overlay.

+13 -1
+12 -1
pkgs/applications/networking/mumble/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, pkg-config, qt5, cmake 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, pkg-config, qt5, cmake 2 2 , avahi, boost, libopus, libsndfile, protobuf, speex, libcap 3 3 , alsa-lib, python3 4 4 , rnnoise ··· 108 108 sha256 = "sha256-SYsGCuj3HeyAQRUecGLaRdJR9Rm7lbaM54spY/zx0jU="; 109 109 fetchSubmodules = true; 110 110 }; 111 + 112 + patches = [ 113 + # fixes 'static assertion failed: static_assert(sizeof(CCameraAngles) == 0x408, "");' 114 + # when compiling pkgsi686Linux.mumble, which is a dependency of x64 mumble_overlay 115 + # https://github.com/mumble-voip/mumble/pull/5850 116 + # Remove with next version update 117 + (fetchpatch { 118 + url = "https://github.com/mumble-voip/mumble/commit/13c051b36b387356815cff5d685bc628b74ba136.patch"; 119 + hash = "sha256-Rq8fb6NFd4DCNWm6OOMYIP7tBllufmQcB5CSxPU4qqg="; 120 + }) 121 + ]; 111 122 }; 112 123 in { 113 124 mumble = client source;
+1
pkgs/applications/networking/mumble/overlay.nix
··· 8 8 version = mumble.version; 9 9 10 10 inherit (mumble) src; 11 + patches = mumble.patches or []; 11 12 12 13 installPhase = '' 13 14 mkdir -p $out/lib