summaryrefslogtreecommitdiffstats
path: root/meta/packages/clutter
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-05-24 14:57:26 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-05-24 14:57:26 +0100
commitfb26ad86b12723a6f6e5d85fcc71c6e3d6be04d6 (patch)
tree05b5c2c1f6a3db71869541bab95a5cf0ea5aa2ef /meta/packages/clutter
parenta844e018b68609a759eacc83bccbc53b1483c905 (diff)
downloadpoky-fb26ad86b12723a6f6e5d85fcc71c6e3d6be04d6.tar.gz
clutter-0.6: Fix symbol conflict with libc headers
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/clutter')
-rw-r--r--meta/packages/clutter/clutter-0.6_git.bb3
-rw-r--r--meta/packages/clutter/clutter/symconflict.patch31
2 files changed, 33 insertions, 1 deletions
diff --git a/meta/packages/clutter/clutter-0.6_git.bb b/meta/packages/clutter/clutter-0.6_git.bb
index 2deca8766c..5b34cad4e5 100644
--- a/meta/packages/clutter/clutter-0.6_git.bb
+++ b/meta/packages/clutter/clutter-0.6_git.bb
@@ -1,9 +1,10 @@
1require clutter.inc 1require clutter.inc
2 2
3PV = "0.6.0+gitr${SRCREV}" 3PV = "0.6.0+gitr${SRCREV}"
4PR = "r3" 4PR = "r4"
5 5
6SRC_URI = "git://git.clutter-project.org/clutter.git;protocol=git;branch=clutter-0-6 \ 6SRC_URI = "git://git.clutter-project.org/clutter.git;protocol=git;branch=clutter-0-6 \
7 file://symconflict.patch;patch=1 \
7 file://enable_tests-0.6.patch;patch=1 " 8 file://enable_tests-0.6.patch;patch=1 "
8 9
9S = "${WORKDIR}/git" 10S = "${WORKDIR}/git"
diff --git a/meta/packages/clutter/clutter/symconflict.patch b/meta/packages/clutter/clutter/symconflict.patch
new file mode 100644
index 0000000000..7685c21161
--- /dev/null
+++ b/meta/packages/clutter/clutter/symconflict.patch
@@ -0,0 +1,31 @@
1Index: git/tests/test-depth.c
2===================================================================
3--- git.orig/tests/test-depth.c 2009-05-24 14:54:40.000000000 +0100
4+++ git/tests/test-depth.c 2009-05-24 14:55:13.000000000 +0100
5@@ -11,13 +11,13 @@
6 clutter_timeline_start (timeline);
7 }
8
9-static ClutterActor *raise[2];
10+static ClutterActor *clutterraise[2];
11 static gboolean raise_no = 0;
12
13 static gboolean
14 raise_top (gpointer ignored)
15 {
16- clutter_actor_raise_top (raise[raise_no]);
17+ clutter_actor_raise_top (clutterraise[raise_no]);
18 raise_no = !raise_no;
19 return TRUE;
20 }
21@@ -202,8 +202,8 @@
22
23 clutter_timeline_start (timeline);
24
25- raise[0] = rect;
26- raise[1] = hand;
27+ clutterraise[0] = rect;
28+ clutterraise[1] = hand;
29 g_timeout_add (2000, raise_top, NULL);
30
31 clutter_main ();