diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-24 14:57:26 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-24 14:57:26 +0100 |
commit | fb26ad86b12723a6f6e5d85fcc71c6e3d6be04d6 (patch) | |
tree | 05b5c2c1f6a3db71869541bab95a5cf0ea5aa2ef /meta/packages/clutter | |
parent | a844e018b68609a759eacc83bccbc53b1483c905 (diff) | |
download | poky-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.bb | 3 | ||||
-rw-r--r-- | meta/packages/clutter/clutter/symconflict.patch | 31 |
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 @@ | |||
1 | require clutter.inc | 1 | require clutter.inc |
2 | 2 | ||
3 | PV = "0.6.0+gitr${SRCREV}" | 3 | PV = "0.6.0+gitr${SRCREV}" |
4 | PR = "r3" | 4 | PR = "r4" |
5 | 5 | ||
6 | SRC_URI = "git://git.clutter-project.org/clutter.git;protocol=git;branch=clutter-0-6 \ | 6 | SRC_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 | ||
9 | S = "${WORKDIR}/git" | 10 | S = "${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 @@ | |||
1 | Index: 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 (); | ||