From: Jussi Kukkonen Date: Fri, 18 Aug 2017 12:38:16 +0000 (+0300) Subject: cve-check-tool: Fix progress bar patch for curl 7.55 X-Git-Tag: 2017-10~533 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=5548f9c87c6a10cda2baf6f198762380e55f6ae2;p=openembedded-core.git cve-check-tool: Fix progress bar patch for curl 7.55 CURL_FORMAT_OFF_T does not seem to exist anymore, use CURL_FORMAT_CURL_OFF_T instead. This works with old and new curl. Signed-off-by: Jussi Kukkonen Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/cve-check-tool/files/0001-print-progress-in-percent-when-downloading-CVE-db.patch b/meta/recipes-devtools/cve-check-tool/files/0001-print-progress-in-percent-when-downloading-CVE-db.patch index 0510e3ae0e..8ea6f686e3 100644 --- a/meta/recipes-devtools/cve-check-tool/files/0001-print-progress-in-percent-when-downloading-CVE-db.patch +++ b/meta/recipes-devtools/cve-check-tool/files/0001-print-progress-in-percent-when-downloading-CVE-db.patch @@ -38,7 +38,7 @@ index 06d4b30..0fe6d76 100644 + if (dltotal && percent && percent->end >= percent->start) { + unsigned int diff = percent->end - percent->start; + if (diff) { -+ fprintf(stderr,"completed: "CURL_FORMAT_OFF_T"%%\r", percent->start + (diff * dlnow / dltotal)); ++ fprintf(stderr,"completed: %"CURL_FORMAT_CURL_OFF_T"%%\r", percent->start + (diff * dlnow / dltotal)); + } + } +