From 2864ef14c74f2edf7f7db0026bdb737fa81cf191 Mon Sep 17 00:00:00 2001 From: Randy McCaskill Date: Sun, 31 May 2020 16:46:47 -0400 Subject: [PATCH] masterpassword-cli: rebuild against json-c 0.14 --- .../patches/lowercase-boolean.patch | 11 +++++++++++ srcpkgs/masterpassword-cli/template | 3 +-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/masterpassword-cli/patches/lowercase-boolean.patch diff --git a/srcpkgs/masterpassword-cli/patches/lowercase-boolean.patch b/srcpkgs/masterpassword-cli/patches/lowercase-boolean.patch new file mode 100644 index 00000000000..fe4a33b628d --- /dev/null +++ b/srcpkgs/masterpassword-cli/patches/lowercase-boolean.patch @@ -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 + diff --git a/srcpkgs/masterpassword-cli/template b/srcpkgs/masterpassword-cli/template index e704e6fc68f..ee2b8d41ae4 100644 --- a/srcpkgs/masterpassword-cli/template +++ b/srcpkgs/masterpassword-cli/template @@ -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 }