From 439120e6afced04095e8199b51f077bb079a7f56 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Tue, 17 Aug 2021 16:58:38 +0200 Subject: [PATCH] json-c: Update version from 0.12.1 to 0.15 nvme-cli needs `json_util_get_last_err()` not in 0.12.1: /usr/lib/gcc/x86_64-pc-linux-gnu/7.5.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../src//libnvme.a(json.ol): in function `json_read_config': /home/pmenzel/src/nvme-cli/libnvme/src/nvme/json.c:154: undefined reference to `json_util_get_last_err' /usr/lib/gcc/x86_64-pc-linux-gnu/7.5.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../src//libnvme.a(json.ol): in function `json_update_config': /home/pmenzel/src/nvme-cli/libnvme/src/nvme/json.c:271: undefined reference to `json_util_get_last_err' So update to the current release 0.15 from July 2020. Remove obsolete Makefile patching. --- json-c.be0 | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/json-c.be0 b/json-c.be0 index 55f9f80d0..99500d30c 100755 --- a/json-c.be0 +++ b/json-c.be0 @@ -1,6 +1,6 @@ #!/usr/bin/env beesh -# BEE_VERSION json-c-0.12.1-0 +# BEE_VERSION json-c-0.15-0 ## this file was created by bee init and should be executed to build a ## bee-package. (Additional hints are located at the end of this file.) @@ -49,10 +49,9 @@ SRCURL[0]="https://s3.amazonaws.com/json-c_releases/releases/json-c-${PKGVERSION # bee_extract "${@}" #} -mee_patch() { - bee_patch "${@}" - sed -i s/-Werror// Makefile.in -} +#mee_patch() { +# bee_patch "${@}" +#} mee_configure() { bee_configure --disable-static