Merge #237208: libopus: fix build on aarch64-linux

...into staging

+10
+10
pkgs/development/libraries/libopus/default.nix
··· 1 1 { lib 2 2 , stdenv 3 + , fetchpatch 3 4 , fetchurl 4 5 , meson 5 6 , python3 ··· 16 17 url = "https://downloads.xiph.org/releases/opus/opus-${version}.tar.gz"; 17 18 sha256 = "sha256-ybMrQlO+WuY9H/Fu6ga5S18PKVG3oCrO71jjo85JxR8="; 18 19 }; 20 + 21 + patches = [ 22 + # Fix meson build for arm64. Remove with next release 23 + # https://gitlab.xiph.org/xiph/opus/-/merge_requests/59 24 + (fetchpatch { 25 + url = "https://gitlab.xiph.org/xiph/opus/-/commit/20c032d27c59d65b19b8ffbb2608e5282fe817eb.patch"; 26 + hash = "sha256-2pX+0ay5PTyHL2plameBX2L1Q4aTx7V7RGiTdhNIuE4="; 27 + }) 28 + ]; 19 29 20 30 postPatch = '' 21 31 patchShebangs meson/