Source: yubikey-personalization Version: 1.20.0-2 Severity: serious tags: patch Hello, this is the trivial patch that makes the package build with newer jsonc.
Description: Patch to make it build with newer json-c deprecated TRUE/FALSE defines Author: Gianfranco Costamagna <[email protected]> Last-Update: 2020-07-31 Index: yubikey-personalization-1.20.0/ykpers-json.c =================================================================== --- yubikey-personalization-1.20.0.orig/ykpers-json.c +++ yubikey-personalization-1.20.0/ykpers-json.c @@ -36,6 +36,14 @@ #include <json.h> #include <string.h> +// not exported anymore by new json-c +#ifndef TRUE +#define TRUE 1 +#endif +#ifndef FALSE +#define FALSE 0 +#endif + #ifdef HAVE_JSON_OBJECT_OBJECT_GET_EX #define yk_json_object_object_get(obj, key, value) json_object_object_get_ex(obj, key, &value) #else G.

