summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/clutter/clutter/fix_build_for_armv4t.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/clutter/clutter/fix_build_for_armv4t.patch')
-rw-r--r--meta/recipes-graphics/clutter/clutter/fix_build_for_armv4t.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/recipes-graphics/clutter/clutter/fix_build_for_armv4t.patch b/meta/recipes-graphics/clutter/clutter/fix_build_for_armv4t.patch
new file mode 100644
index 0000000000..28cbfa28f0
--- /dev/null
+++ b/meta/recipes-graphics/clutter/clutter/fix_build_for_armv4t.patch
@@ -0,0 +1,11 @@
1--- clutter-1.6.14/clutter/cogl/cogl/cogl-fixed.c.ORIG 2011-03-22 15:46:17.000000000 +0100
2+++ clutter-1.6.14/clutter/cogl/cogl/cogl-fixed.c 2011-12-22 09:26:10.650427310 +0100
3@@ -626,7 +626,7 @@
4 /*
5 * Find the highest bit set
6 */
7-#if __arm__
8+#if __arm__ && !defined(__ARM_ARCH_4T__)
9 /* This actually requires at least arm v5, but gcc does not seem
10 * to set the architecture defines correctly, and it is I think
11 * very unlikely that anyone will want to use clutter on anything