summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glib-2.0/glib-2.0_2.46.2.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-05-11 10:35:06 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-13 13:41:29 +0100
commita088a4110751bc6dbad5e48c049158f53284057d (patch)
tree55bb7ce771048a4c14332374733017c6e9e088e4 /meta/recipes-core/glib-2.0/glib-2.0_2.46.2.bb
parent6ea164c208ab43251544525e83644a8f84d3a6f8 (diff)
downloadpoky-a088a4110751bc6dbad5e48c049158f53284057d.tar.gz
glib-2.0: Ignore useless warning found with gcc-6
../../glib-2.46.2/glib/gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral] tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm); ^~~~~~ | ../../../../../../../../workspace/sources/glib-2.0/glib/tests/gdatetime.c: In function 'test_strftime': | ../../../../../../../../workspace/sources/glib-2.0/glib/tests/gdatetime.c:1338:3: error: '%c' yields only last 2 digits of year in some locales [-Werror=format-y2k] | "a%a A%A b%b B%B c%c C%C d%d e%e F%F g%g G%G h%h H%H I%I j%j m%m M%M " \ Additionally fix the problem seen where write() return code is ignored (From OE-Core rev: 3fdecff96dd7516605ec9248b2a39de4db81306f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glib-2.0/glib-2.0_2.46.2.bb')
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0_2.46.2.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.46.2.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.46.2.bb
index 8e445b4154..9e9514962e 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0_2.46.2.bb
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.46.2.bb
@@ -13,11 +13,14 @@ SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \
13 file://uclibc_musl_translation.patch \ 13 file://uclibc_musl_translation.patch \
14 file://0001-configure.ac-Do-not-use-readlink-when-cross-compilin.patch \ 14 file://0001-configure.ac-Do-not-use-readlink-when-cross-compilin.patch \
15 file://allow-run-media-sdX-drive-mount-if-username-root.patch \ 15 file://allow-run-media-sdX-drive-mount-if-username-root.patch \
16 file://0001-Remove-the-warning-about-deprecated-paths-in-schemas.patch \ 16 file://0001-Remove-the-warning-about-deprecated-paths-in-schemas.patch \
17 file://Enable-more-tests-while-cross-compiling.patch \ 17 file://Enable-more-tests-while-cross-compiling.patch \
18 file://gi-exclude.patch \ 18 file://gi-exclude.patch \
19 file://0001-Install-gio-querymodules-as-libexec_PROGRAM.patch \ 19 file://0001-Install-gio-querymodules-as-libexec_PROGRAM.patch \
20 " 20 file://ignore-format-nonliteral-warning.patch \
21 file://0001-Do-not-ignore-return-value-of-write.patch \
22 file://0002-tests-Ignore-y2k-warnings.patch \
23 "
21 24
22SRC_URI_append_class-native = " file://glib-gettextize-dir.patch \ 25SRC_URI_append_class-native = " file://glib-gettextize-dir.patch \
23 file://relocate-modules.patch" 26 file://relocate-modules.patch"