summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2014-10-05 16:16:19 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-10-10 16:44:31 +0100
commit0843260f2f71c916509abfcb0aa89afb2e70a84a (patch)
treea4373d8f88d1f3e3e1ead87dfc065e3bd07c16e7
parentc9ec3257cf0ccbb1580708bcf69de50f447452f2 (diff)
downloadpoky-0843260f2f71c916509abfcb0aa89afb2e70a84a.tar.gz
gnome-desktop-testing: Fix build on uclibc
[YOCTO #6577] Change-Id: Ia29fb963a7df4e77504993172f85851e0b540c7e (From OE-Core rev: 1fc544811582ed68b6e0a61fd22c169e1825b725) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing/0001-gsystem-subprocess.c-Enable-GNU-extensions-in-system.patch35
-rw-r--r--meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb4
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 @@
1From b1de2c6290bc0651fe87a8c4fb52e7a0a5fe6322 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 5 Oct 2014 16:01:49 -0700
4Subject: [PATCH] gsystem-subprocess.c: Enable GNU extensions in system C
5 library
6
7This should export O_CLOEXEC where it is only
8available when _GNU_SOURCE is defined .e.g. uclibc based systems
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11
12Upstream-Status: Pending
13
14---
15 src/libgsystem/gsystem-subprocess.c | 4 ++++
16 1 file changed, 4 insertions(+)
17
18diff --git a/src/libgsystem/gsystem-subprocess.c b/src/libgsystem/gsystem-subprocess.c
19index 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--
342.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"
2HOMEPAGE = "https://wiki.gnome.org/GnomeGoals/InstalledTests" 2HOMEPAGE = "https://wiki.gnome.org/GnomeGoals/InstalledTests"
3LICENSE = "LGPLv2+" 3LICENSE = "LGPLv2+"
4 4
5SRC_URI = "${GNOME_MIRROR}/${BPN}/${PV}/${BPN}-${PV}.tar.xz" 5SRC_URI = "${GNOME_MIRROR}/${BPN}/${PV}/${BPN}-${PV}.tar.xz \
6 file://0001-gsystem-subprocess.c-Enable-GNU-extensions-in-system.patch \
7 "
6SRC_URI[md5sum] = "a608ad72a77e23a1aecdfd8d07a94baf" 8SRC_URI[md5sum] = "a608ad72a77e23a1aecdfd8d07a94baf"
7SRC_URI[sha256sum] = "1a3eed73678dd22d09d6a7ec4f899557df3e8b4a802affa76d0f163b31286539" 9SRC_URI[sha256sum] = "1a3eed73678dd22d09d6a7ec4f899557df3e8b4a802affa76d0f163b31286539"
8 10