Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pmenzel committed Aug 17, 2021
1 parent 202af96 commit 439120e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions 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.)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 439120e

Please sign in to comment.