diff options
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/pkgconfig/pkgconfig/0001-gdate-Move-warning-pragma-outside-of-function.patch | 39 | ||||
-rw-r--r-- | meta/recipes-devtools/pkgconfig/pkgconfig_git.bb | 5 |
2 files changed, 2 insertions, 42 deletions
diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig/0001-gdate-Move-warning-pragma-outside-of-function.patch b/meta/recipes-devtools/pkgconfig/pkgconfig/0001-gdate-Move-warning-pragma-outside-of-function.patch deleted file mode 100644 index 14c8293a5e..0000000000 --- a/meta/recipes-devtools/pkgconfig/pkgconfig/0001-gdate-Move-warning-pragma-outside-of-function.patch +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | From 946d36266d8a30f04fe34d3183bf4929141934d2 Mon Sep 17 00:00:00 2001 | ||
2 | From: coypu <coypu@sdf.org> | ||
3 | Date: Wed, 2 Mar 2016 19:38:48 +0200 | ||
4 | Subject: [PATCH] gdate: Move warning pragma outside of function | ||
5 | |||
6 | Commit 0817af40e8c74c721c30f6ef482b1f53d12044c7 breaks the build on | ||
7 | older versions of GCC, which don't allow pragma inside functions. | ||
8 | |||
9 | https://bugzilla.gnome.org/761550 | ||
10 | --- | ||
11 | Upstream-Status: Backport | ||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
13 | |||
14 | glib/glib/gdate.c | 5 +++++ | ||
15 | 1 file changed, 5 insertions(+) | ||
16 | |||
17 | diff --git a/glib/glib/gdate.c b/glib/glib/gdate.c | ||
18 | index 1978cf7..20e6c4a 100644 | ||
19 | --- a/glib/glib/gdate.c | ||
20 | +++ b/glib/glib/gdate.c | ||
21 | @@ -2439,6 +2439,9 @@ win32_strftime_helper (const GDate *d, | ||
22 | * | ||
23 | * Returns: number of characters written to the buffer, or 0 the buffer was too small | ||
24 | */ | ||
25 | +#pragma GCC diagnostic push | ||
26 | +#pragma GCC diagnostic ignored "-Wformat-nonliteral" | ||
27 | + | ||
28 | gsize | ||
29 | g_date_strftime (gchar *s, | ||
30 | gsize slen, | ||
31 | @@ -2549,3 +2552,5 @@ g_date_strftime (gchar *s, | ||
32 | return retval; | ||
33 | #endif | ||
34 | } | ||
35 | + | ||
36 | +#pragma GCC diagnostic pop | ||
37 | -- | ||
38 | 1.9.1 | ||
39 | |||
diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb index dc44992c7e..e6340218e0 100644 --- a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb +++ b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb | |||
@@ -8,13 +8,12 @@ SECTION = "console/utils" | |||
8 | LICENSE = "GPLv2+" | 8 | LICENSE = "GPLv2+" |
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
10 | 10 | ||
11 | SRCREV = "87152c05be88ca8be71a3a563f275b3686d32c28" | 11 | SRCREV = "edf8e6f0ea77ede073f07bff0d2ae1fc7a38103b" |
12 | PV = "0.29.1+git${SRCPV}" | 12 | PV = "0.29.2+git${SRCPV}" |
13 | 13 | ||
14 | SRC_URI = "git://anongit.freedesktop.org/pkg-config \ | 14 | SRC_URI = "git://anongit.freedesktop.org/pkg-config \ |
15 | file://pkg-config-native.in \ | 15 | file://pkg-config-native.in \ |
16 | file://fix-glib-configure-libtool-usage.patch \ | 16 | file://fix-glib-configure-libtool-usage.patch \ |
17 | file://0001-gdate-Move-warning-pragma-outside-of-function.patch \ | ||
18 | file://0001-glib-gettext.m4-Update-AM_GLIB_GNU_GETTEXT-to-match-.patch \ | 17 | file://0001-glib-gettext.m4-Update-AM_GLIB_GNU_GETTEXT-to-match-.patch \ |
19 | " | 18 | " |
20 | 19 | ||