diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0/0002-tests-Ignore-y2k-warnings.patch | 42 | ||||
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0_2.50.1.bb (renamed from meta/recipes-core/glib-2.0/glib-2.0_2.48.2.bb) | 5 | ||||
-rw-r--r-- | meta/recipes-core/glib-2.0/glib.inc | 3 |
3 files changed, 4 insertions, 46 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/0002-tests-Ignore-y2k-warnings.patch b/meta/recipes-core/glib-2.0/glib-2.0/0002-tests-Ignore-y2k-warnings.patch deleted file mode 100644 index f61fa0ae6a..0000000000 --- a/meta/recipes-core/glib-2.0/glib-2.0/0002-tests-Ignore-y2k-warnings.patch +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | From b06b22fecc7deda8c65e28670562ca2371e4e725 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 16 Apr 2016 13:43:54 -0700 | ||
4 | Subject: [PATCH 2/2] tests: Ignore y2k warnings | ||
5 | |||
6 | silences | ||
7 | | ../../../../../../../../workspace/sources/glib-2.0/glib/tests/gdatetime.c: In function 'test_strftime': | ||
8 | | ../../../../../../../../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] | ||
9 | | "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 " | ||
10 | |||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | Upstream-Status: Submitted | ||
14 | |||
15 | glib/tests/gdatetime.c | 4 ++++ | ||
16 | 1 file changed, 4 insertions(+) | ||
17 | |||
18 | diff --git a/glib/tests/gdatetime.c b/glib/tests/gdatetime.c | ||
19 | index 16a163c..e6062fc 100644 | ||
20 | --- a/glib/tests/gdatetime.c | ||
21 | +++ b/glib/tests/gdatetime.c | ||
22 | @@ -1326,6 +1326,9 @@ test_z (void) | ||
23 | g_time_zone_unref (tz); | ||
24 | } | ||
25 | |||
26 | +#pragma GCC diagnostic push | ||
27 | +#pragma GCC diagnostic ignored "-Wformat-y2k" | ||
28 | + | ||
29 | static void | ||
30 | test_strftime (void) | ||
31 | { | ||
32 | @@ -1351,6 +1354,7 @@ test_strftime (void) | ||
33 | } | ||
34 | #endif | ||
35 | } | ||
36 | +#pragma GCC diagnostic pop | ||
37 | |||
38 | static void | ||
39 | test_find_interval (void) | ||
40 | -- | ||
41 | 2.8.0 | ||
42 | |||
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.48.2.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.50.1.bb index a45f644448..00ae7ef22e 100644 --- a/meta/recipes-core/glib-2.0/glib-2.0_2.48.2.bb +++ b/meta/recipes-core/glib-2.0/glib-2.0_2.50.1.bb | |||
@@ -16,11 +16,10 @@ SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \ | |||
16 | file://gi-exclude.patch \ | 16 | file://gi-exclude.patch \ |
17 | file://0001-Install-gio-querymodules-as-libexec_PROGRAM.patch \ | 17 | file://0001-Install-gio-querymodules-as-libexec_PROGRAM.patch \ |
18 | file://0001-Do-not-ignore-return-value-of-write.patch \ | 18 | file://0001-Do-not-ignore-return-value-of-write.patch \ |
19 | file://0002-tests-Ignore-y2k-warnings.patch \ | ||
20 | " | 19 | " |
21 | 20 | ||
22 | SRC_URI_append_class-native = " file://glib-gettextize-dir.patch \ | 21 | SRC_URI_append_class-native = " file://glib-gettextize-dir.patch \ |
23 | file://relocate-modules.patch" | 22 | file://relocate-modules.patch" |
24 | 23 | ||
25 | SRC_URI[md5sum] = "f4ac1aa2efd4f5798c37625ea697ac57" | 24 | SRC_URI[md5sum] = "6baee4d7e3b1ec791b4ced93976365ee" |
26 | SRC_URI[sha256sum] = "f25e751589cb1a58826eac24fbd4186cda4518af772806b666a3f91f66e6d3f4" | 25 | SRC_URI[sha256sum] = "2ef87a78f37c1eb5b95f4cc95efd5b66f69afad9c9c0899918d04659cf6df7dd" |
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc index 07d8734d7c..cb6aca702f 100644 --- a/meta/recipes-core/glib-2.0/glib.inc +++ b/meta/recipes-core/glib-2.0/glib.inc | |||
@@ -30,9 +30,10 @@ inherit autotools gettext gtk-doc pkgconfig ptest-gnome upstream-version-is-even | |||
30 | 30 | ||
31 | S = "${WORKDIR}/glib-${PV}" | 31 | S = "${WORKDIR}/glib-${PV}" |
32 | 32 | ||
33 | PACKAGECONFIG ??= "system-pcre" | 33 | PACKAGECONFIG ??= "system-pcre libmount" |
34 | # To use the system pcre it must be configured with --enable-unicode-properties | 34 | # To use the system pcre it must be configured with --enable-unicode-properties |
35 | PACKAGECONFIG[system-pcre] = "--with-pcre=system,--with-pcre=internal,libpcre" | 35 | PACKAGECONFIG[system-pcre] = "--with-pcre=system,--with-pcre=internal,libpcre" |
36 | PACKAGECONFIG[libmount] = "--enable-libmount,--disable-libmount,util-linux" | ||
36 | PACKAGECONFIG[manpages] = "--enable-man --with-xml-catalog=${STAGING_ETCDIR_NATIVE}/xml/catalog.xml, --disable-man, libxslt-native xmlto-native" | 37 | PACKAGECONFIG[manpages] = "--enable-man --with-xml-catalog=${STAGING_ETCDIR_NATIVE}/xml/catalog.xml, --disable-man, libxslt-native xmlto-native" |
37 | 38 | ||
38 | CORECONF = "--disable-dtrace --disable-fam --disable-libelf --disable-systemtap" | 39 | CORECONF = "--disable-dtrace --disable-fam --disable-libelf --disable-systemtap" |