jsoncpp: fix build on 32-bit arm

This commit is contained in:
Andrew Childs 2020-04-30 06:57:25 +09:00 committed by Jon
parent d09c84aa00
commit 65d4935c0d

View File

@ -30,8 +30,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake python ]; nativeBuildInputs = [ cmake python ];
# fix inverted sense in isAnyCharRequiredQuoting on aarch64. See: https://github.com/open-source-parsers/jsoncpp/pull/1120 # fix inverted sense in isAnyCharRequiredQuoting on arm. See: https://github.com/open-source-parsers/jsoncpp/pull/1120
patches = stdenv.lib.optionals stdenv.isAarch64 [ patches = stdenv.lib.optionals (stdenv.isAarch64 || stdenv.isAarch32) [
(fetchpatch { (fetchpatch {
url = "https://github.com/open-source-parsers/jsoncpp/commit/9093358efae9e5981aa60013487fc7215f040a59.patch"; url = "https://github.com/open-source-parsers/jsoncpp/commit/9093358efae9e5981aa60013487fc7215f040a59.patch";
sha256 = "1wiqp70sck2md14sfc0zdkblqk9750cl55ykf9d6b9vs1ifzzzq5"; sha256 = "1wiqp70sck2md14sfc0zdkblqk9750cl55ykf9d6b9vs1ifzzzq5";