diff options
| author | He Zhe <zhe.he@windriver.com> | 2017-07-24 11:27:17 +0800 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-07-25 09:09:12 -0400 |
| commit | 2d28f71f9e8d3ad573ee92365de4e8a4df8a9b06 (patch) | |
| tree | e213f7b79151b4f17fcb64f205baea6719bf6d19 /recipes-support/spice/spice_git.bb | |
| parent | d95b0b5d0de99c3d40f164eb5953efae3df3e5f8 (diff) | |
| download | meta-cloud-services-2d28f71f9e8d3ad573ee92365de4e8a4df8a9b06.tar.gz | |
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 <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-support/spice/spice_git.bb')
| -rw-r--r-- | recipes-support/spice/spice_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
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 += " \ | |||
| 36 | file://configure.ac-add-subdir-objects-to-AM_INIT_AUTOMAKE.patch \ | 36 | file://configure.ac-add-subdir-objects-to-AM_INIT_AUTOMAKE.patch \ |
| 37 | file://build-allow-separated-src-and-build-dirs.patch \ | 37 | file://build-allow-separated-src-and-build-dirs.patch \ |
| 38 | file://0001-red_parse_qxl-Fix-BITMAP_FMT_IS_RGB-defined-but-not-.patch \ | 38 | file://0001-red_parse_qxl-Fix-BITMAP_FMT_IS_RGB-defined-but-not-.patch \ |
| 39 | file://0001-Use-PRI-macros-in-printf-to-keep-compatibility-betwe.patch \ | ||
| 39 | " | 40 | " |
| 40 | 41 | ||
| 41 | S = "${WORKDIR}/git" | 42 | S = "${WORKDIR}/git" |
