aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/directfb/directfb
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2012-06-01 14:41:24 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-05 22:50:11 +0100
commit8acb86dfdae782c7627e36e23e1bcb703f8c79db (patch)
treed97d7cca1ca7142358e0a64a917b0eccb566e09c /meta/recipes-graphics/directfb/directfb
parent7c99105d70a16aa9e42429224abed28743e627b2 (diff)
downloadopenembedded-core-contrib-8acb86dfdae782c7627e36e23e1bcb703f8c79db.tar.gz
directfb: upgrade to 1.5.3
Also, backported a couple of patches from upstream that fix some compilations issues for ARM and PPC. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Diffstat (limited to 'meta/recipes-graphics/directfb/directfb')
-rw-r--r--meta/recipes-graphics/directfb/directfb/libdirect-Use-ARM-assembler-for-atomic-operations-on.patch27
-rw-r--r--meta/recipes-graphics/directfb/directfb/libdirect-remove-include-of-linux-config.h.patch27
2 files changed, 54 insertions, 0 deletions
diff --git a/meta/recipes-graphics/directfb/directfb/libdirect-Use-ARM-assembler-for-atomic-operations-on.patch b/meta/recipes-graphics/directfb/directfb/libdirect-Use-ARM-assembler-for-atomic-operations-on.patch
new file mode 100644
index 0000000000..277189bb84
--- /dev/null
+++ b/meta/recipes-graphics/directfb/directfb/libdirect-Use-ARM-assembler-for-atomic-operations-on.patch
@@ -0,0 +1,27 @@
+From 54f775dfc516115c4d654d250189f431a82d1d42 Mon Sep 17 00:00:00 2001
+From: Denis Oliver Kropp <dok@directfb.org>
+Date: Sun, 27 May 2012 11:40:31 +0200
+Subject: [PATCH] libdirect: Use ARM assembler for atomic operations only if
+ ARCH_ARMv7 is defined.
+
+Upstream-Status: backport from 1.6.0-pre1
+---
+ lib/direct/atomic.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/direct/atomic.h b/lib/direct/atomic.h
+index fe7664f..74d8d18 100644
+--- a/lib/direct/atomic.h
++++ b/lib/direct/atomic.h
+@@ -183,7 +183,7 @@
+ #endif
+
+
+-#if defined(ARCH_ARM) && !defined(ARCH_IWMMXT)
++#if defined(ARCH_ARMv7) && !defined(ARCH_IWMMXT)
+
+ static inline int _D__atomic_cmpxchg(volatile int *ptr, int old, int _new)
+ {
+--
+1.7.9.5
+
diff --git a/meta/recipes-graphics/directfb/directfb/libdirect-remove-include-of-linux-config.h.patch b/meta/recipes-graphics/directfb/directfb/libdirect-remove-include-of-linux-config.h.patch
new file mode 100644
index 0000000000..eeb77385ca
--- /dev/null
+++ b/meta/recipes-graphics/directfb/directfb/libdirect-remove-include-of-linux-config.h.patch
@@ -0,0 +1,27 @@
+From cd575a84f10d90759e069f5f2e6092251a1b84bd Mon Sep 17 00:00:00 2001
+From: Sven Neumann <s.neumann@raumfeld.com>
+Date: Fri, 23 Sep 2011 10:00:02 +0200
+Subject: [PATCH] libdirect: remove include of <linux/config.h>
+
+That header has been removed from the Linux kernel with 2.6.19
+and it should not have been needed anyway.
+---
+ lib/direct/ppcasm_memcpy_cachable.S | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/lib/direct/ppcasm_memcpy_cachable.S b/lib/direct/ppcasm_memcpy_cachable.S
+index 920dea2..c1ef4fa 100644
+--- a/lib/direct/ppcasm_memcpy_cachable.S
++++ b/lib/direct/ppcasm_memcpy_cachable.S
+@@ -34,8 +34,6 @@
+
+ #define __ASSEMBLY__
+
+-#include <linux/config.h>
+-
+ #if defined(CONFIG_8xx) || defined(CONFIG_403GCX)
+ #define L1_CACHE_LINE_SIZE 16
+ #define LG_L1_CACHE_LINE_SIZE 4
+--
+1.7.9.5
+