]> git.openpandora.org Git - openembedded.git/commitdiff
directfb: don't use linux/config.h in powerpc assembly
authorJeremy Laine <jeremy.laine@m4x.org>
Sat, 7 Jun 2008 02:29:57 +0000 (02:29 +0000)
committerJeremy Laine <jeremy.laine@m4x.org>
Sat, 7 Jun 2008 02:29:57 +0000 (02:29 +0000)
packages/directfb/directfb.inc
packages/directfb/directfb_1.0.0.bb
packages/directfb/directfb_1.1.0.bb
packages/directfb/files/dont-use-linux-config.patch [new file with mode: 0644]

index 0843f3619839a83d5259d110ab04cc2da69f75c0..150cbe66b39ba4f6c2b081583c2b318ed9548e3e 100644 (file)
@@ -8,7 +8,7 @@ LICENSE = "LGPL"
 HOMEPAGE = "http://directfb.org"
 DEPENDS = "jpeg libpng freetype zlib tslib"
 RV = "1.0-0"
-PR = "r4"
+PR = "r5"
 
 SRC_URI = " \
     http://www.directfb.org/download/DirectFB/DirectFB-${PV}.tar.gz \
@@ -17,6 +17,7 @@ SRC_URI = " \
     file://getpagesize.patch;patch=1 \
     file://fix-includes.patch;patch=1 \
     file://mkdfiff.patch;patch=1 \
+    file://dont-use-linux-config.patch;patch=1 \
 "
 S = "${WORKDIR}/DirectFB-${PV}"
 
index 5b4690fe93abfb603d00cee97e410d114e10da82..fccb8dbfdd86987eee2b0334315437296b0aa2c7 100644 (file)
@@ -1,4 +1,3 @@
 require directfb.inc
 
 RV = "1.0-0"
-PR = "r4"
index 39002fdb5d1788972f62196b55aaf45d1b217428..8aa8f43c08fc5cf7047c8cdf096c21cb237814b6 100644 (file)
@@ -1,4 +1,3 @@
 require directfb.inc
 
 RV = "1.1-0"
-PR = "r3"
diff --git a/packages/directfb/files/dont-use-linux-config.patch b/packages/directfb/files/dont-use-linux-config.patch
new file mode 100644 (file)
index 0000000..f971660
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urN DirectFB-1.1.0.orig/lib/direct/ppcasm_memcpy_cachable.S DirectFB-1.1.0/lib/direct/ppcasm_memcpy_cachable.S
+--- DirectFB-1.1.0.orig/lib/direct/ppcasm_memcpy_cachable.S    2007-08-07 21:43:00.000000000 +0200
++++ DirectFB-1.1.0/lib/direct/ppcasm_memcpy_cachable.S 2008-06-07 04:14:26.000000000 +0200
+@@ -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