Source: libu2f-host Version: 1.1.10-1 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 <locutusofb...@debian.org> Last-Update: 2020-07-31 --- libu2f-host-1.1.10.orig/u2f-host/u2fmisc.c +++ libu2f-host-1.1.10/u2f-host/u2fmisc.c @@ -26,6 +26,14 @@ #define HID_TIMEOUT 2 #define HID_MAX_TIMEOUT 4096 +// 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 u2fh_json_object_object_get(obj, key, value) json_object_object_get_ex(obj, key, &value) #else G.