diff options
2 files changed, 38 insertions, 1 deletions
diff --git a/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing/0001-gsystem-subprocess.c-Enable-GNU-extensions-in-system.patch b/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing/0001-gsystem-subprocess.c-Enable-GNU-extensions-in-system.patch new file mode 100644 index 0000000000..840666f302 --- /dev/null +++ b/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing/0001-gsystem-subprocess.c-Enable-GNU-extensions-in-system.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From b1de2c6290bc0651fe87a8c4fb52e7a0a5fe6322 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 5 Oct 2014 16:01:49 -0700 | ||
4 | Subject: [PATCH] gsystem-subprocess.c: Enable GNU extensions in system C | ||
5 | library | ||
6 | |||
7 | This should export O_CLOEXEC where it is only | ||
8 | available when _GNU_SOURCE is defined .e.g. uclibc based systems | ||
9 | |||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | |||
12 | Upstream-Status: Pending | ||
13 | |||
14 | --- | ||
15 | src/libgsystem/gsystem-subprocess.c | 4 ++++ | ||
16 | 1 file changed, 4 insertions(+) | ||
17 | |||
18 | diff --git a/src/libgsystem/gsystem-subprocess.c b/src/libgsystem/gsystem-subprocess.c | ||
19 | index a967896..a52a362 100644 | ||
20 | --- a/src/libgsystem/gsystem-subprocess.c | ||
21 | +++ b/src/libgsystem/gsystem-subprocess.c | ||
22 | @@ -18,6 +18,10 @@ | ||
23 | |||
24 | #include "config.h" | ||
25 | |||
26 | +#ifndef _GNU_SOURCE | ||
27 | +#define _GNU_SOURCE | ||
28 | +#endif | ||
29 | + | ||
30 | #define _GSYSTEM_NO_LOCAL_ALLOC | ||
31 | #include "libgsystem.h" | ||
32 | |||
33 | -- | ||
34 | 2.1.1 | ||
35 | |||
diff --git a/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb b/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb index 146a02ac7d..c688e9d1d7 100644 --- a/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb +++ b/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb | |||
@@ -2,7 +2,9 @@ SUMMARY = "Test runner for GNOME-style installed tests" | |||
2 | HOMEPAGE = "https://wiki.gnome.org/GnomeGoals/InstalledTests" | 2 | HOMEPAGE = "https://wiki.gnome.org/GnomeGoals/InstalledTests" |
3 | LICENSE = "LGPLv2+" | 3 | LICENSE = "LGPLv2+" |
4 | 4 | ||
5 | SRC_URI = "${GNOME_MIRROR}/${BPN}/${PV}/${BPN}-${PV}.tar.xz" | 5 | SRC_URI = "${GNOME_MIRROR}/${BPN}/${PV}/${BPN}-${PV}.tar.xz \ |
6 | file://0001-gsystem-subprocess.c-Enable-GNU-extensions-in-system.patch \ | ||
7 | " | ||
6 | SRC_URI[md5sum] = "a608ad72a77e23a1aecdfd8d07a94baf" | 8 | SRC_URI[md5sum] = "a608ad72a77e23a1aecdfd8d07a94baf" |
7 | SRC_URI[sha256sum] = "1a3eed73678dd22d09d6a7ec4f899557df3e8b4a802affa76d0f163b31286539" | 9 | SRC_URI[sha256sum] = "1a3eed73678dd22d09d6a7ec4f899557df3e8b4a802affa76d0f163b31286539" |
8 | 10 | ||