masterpassword-cli: rebuild against json-c 0.14

This commit is contained in:
Randy McCaskill 2020-05-31 16:46:47 -04:00 committed by Helmut Pozimski
parent 57fd8f5b46
commit 2864ef14c7
2 changed files with 12 additions and 2 deletions

View File

@ -0,0 +1,11 @@
--- core/c/mpw-marshal-util.c 2017-09-25 02:59:09.000000000 -0400
+++ core/c/mpw-marshal-util.c 2020-05-31 11:32:02.362438198 -0400
@@ -112,7 +112,7 @@
if (!json_value)
return defaultValue;
- return json_object_get_boolean( json_value ) == TRUE;
+ return json_object_get_boolean( json_value ) == true;
}
#endif

View File

@ -1,7 +1,7 @@
# Template file for 'masterpassword-cli'
pkgname=masterpassword-cli
version=2.6
revision=4
revision=5
wrksrc=MasterPassword-${version}-cli-3
build_wrksrc=platform-independent/cli-c
build_style=cmake
@ -23,6 +23,5 @@ pre_configure() {
do_install() {
cat mpw.completion.bash | tail -n +3 >> bashcomplib
vinstall bashcomplib 644 usr/share/bash-completion/completions mpw
vlicense ${wrksrc}/LICENSE
vbin ${cmake_builddir}/mpw
}