libjxl: add patch to fix build with gcc for RISC-V
This commit is contained in:
parent
de80fd06c5
commit
1068982713
@ -1,4 +1,5 @@
|
||||
{ stdenv, lib, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, brotli
|
||||
, cmake
|
||||
, giflib
|
||||
@ -33,6 +34,15 @@ stdenv.mkDerivation rec {
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Add missing <atomic> content to fix gcc compilation for RISCV architecture
|
||||
# https://github.com/libjxl/libjxl/pull/2211
|
||||
(fetchpatch {
|
||||
url = "https://github.com/libjxl/libjxl/commit/22d12d74e7bc56b09cfb1973aa89ec8d714fa3fc.patch";
|
||||
hash = "sha256-X4fbYTMS+kHfZRbeGzSdBW5jQKw8UN44FEyFRUtw0qo=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
gtest
|
||||
|
Loading…
Reference in New Issue
Block a user