python310Packages.opuslib: fix on aarch64-darwin
Pull in patch that fixes calling variadic functions on aarch64-darwin.
This commit is contained in:
parent
36002dd590
commit
4aedfa3fc1
@ -1,5 +1,6 @@
|
||||
{ buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
isPy27,
|
||||
libopus,
|
||||
nose,
|
||||
@ -21,6 +22,12 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/orion-labs/opuslib/pull/22
|
||||
(fetchpatch {
|
||||
name = "fix-variadic-functions-on-aarch64-darwin.patch";
|
||||
url = "https://github.com/orion-labs/opuslib/commit/8aee916e4da4b3183d49cff5a986dc2408076d8d.patch";
|
||||
hash = "sha256-oa1HCFHNS3ejzSf0jxv9NueUKOZgdCtpv+xTrjYW5os=";
|
||||
})
|
||||
(substituteAll {
|
||||
src = ./opuslib-paths.patch;
|
||||
opusLibPath = "${libopus}/lib/libopus${stdenv.hostPlatform.extensions.sharedLibrary}";
|
||||
|
Loading…
Reference in New Issue
Block a user