Commit 73877a6f authored by Roman Volosatovs's avatar Roman Volosatovs Committed by Weijia Wang
Browse files

jshon: fix build on aarch64-darwin



```
jshon> clang -std=c99 -Wall -pedantic -Wextra -Werror    -c -o jshon.o jshon.c
jshon> jshon.c:189:25: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
jshon> json_t** stack_safe_peek()
jshon>                         ^
jshon>                          void
jshon> 6 errors generated.
jshon> make: *** [<builtin>: jshon.o] Error 1
```

Signed-off-by: default avatarRoman Volosatovs <rvolosatovs@riseup.net>
parent 8409e43c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -13,6 +13,8 @@ stdenv.mkDerivation rec {

  buildInputs = [ jansson ];

  env.NIX_CFLAGS_COMPILE = "-Wno-error=strict-prototypes";

  patches = [
    (fetchpatch {
      # https://github.com/keenerd/jshon/pull/62