From 2d28f71f9e8d3ad573ee92365de4e8a4df8a9b06 Mon Sep 17 00:00:00 2001 From: He Zhe Date: Mon, 24 Jul 2017 11:27:17 +0800 Subject: spice: Fix build failures Backport 3cb746329ea4846bd9c65e0198e69423379b6f62 "Use PRI macros in printf to keep compatibility between 32/64bit system" from upstream to fix the following errors: server/jpeg_encoder.c:639:17: error: format '%lu' expects argument of type 'long unsigned int', but argument 12 has type 'uint64_t {aka long long unsigned int}' [-Werror=format=] server/mjpeg_encoder.c:639:17: error: format '%lu' expects argument of type 'long unsigned int', but argument 13 has type 'uint64_t {aka long long unsigned int}' [-Werror=format=] server/mjpeg_encoder.c:706:21: error: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t {aka long long unsigned int}' [-Werror=format=] server/mjpeg_encoder.c:706:21: error: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t {aka long long unsigned int}' [-Werror=format=] server/mjpeg_encoder.c:936:75: error: integer overflow in expression [-Werror=overflow] Signed-off-by: He Zhe Signed-off-by: Bruce Ashfield --- recipes-support/spice/spice_git.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'recipes-support/spice/spice_git.bb') diff --git a/recipes-support/spice/spice_git.bb b/recipes-support/spice/spice_git.bb index 6f1be3a..cf5c569 100644 --- a/recipes-support/spice/spice_git.bb +++ b/recipes-support/spice/spice_git.bb @@ -36,6 +36,7 @@ SRC_URI += " \ file://configure.ac-add-subdir-objects-to-AM_INIT_AUTOMAKE.patch \ file://build-allow-separated-src-and-build-dirs.patch \ file://0001-red_parse_qxl-Fix-BITMAP_FMT_IS_RGB-defined-but-not-.patch \ + file://0001-Use-PRI-macros-in-printf-to-keep-compatibility-betwe.patch \ " S = "${WORKDIR}/git" -- cgit v1.2.3-54-g00ecf