[oe-commits] David Kozub : ++dfb: Add a patch to allow compilation with DirectFB 1.4.

git version control git at git.openembedded.org
Thu Oct 21 02:01:31 UTC 2010


Module: openembedded.git
Branch: darwin
Commit: c6c2e5dcadc2a723a92b336f247ee41c3d2f0a5d
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=c6c2e5dcadc2a723a92b336f247ee41c3d2f0a5d

Author: David Kozub <zub at linux.fjfi.cvut.cz>
Date:   Wed Jul 14 11:20:52 2010 +0000

++dfb: Add a patch to allow compilation with DirectFB 1.4.

Signed-off-by: David Kozub <zub at linux.fjfi.cvut.cz>
Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/directfb/++dfb/dfb-api-change.patch |   13 +++++++++++++
 recipes/directfb/++dfb_1.0.0.bb             |    4 +++-
 2 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/recipes/directfb/++dfb/dfb-api-change.patch b/recipes/directfb/++dfb/dfb-api-change.patch
new file mode 100644
index 0000000..bec4e4c
--- /dev/null
+++ b/recipes/directfb/++dfb/dfb-api-change.patch
@@ -0,0 +1,13 @@
+diff -ruN ++DFB-1.0.0-orig/include/++dfb.h ++DFB-1.0.0/include/++dfb.h
+--- ++DFB-1.0.0-orig/include/++dfb.h	2007-02-02 23:48:36.000000000 +0100
++++ ++DFB-1.0.0/include/++dfb.h	2010-06-09 11:53:07.000000000 +0200
+@@ -46,6 +46,9 @@
+ 
+ #include <directfb.h>
+ 
++// Work around old lib expectations.
++typedef u8 __u8;
++
+ #undef IDirectFB
+ #undef IDirectFBScreen
+ #undef IDirectFBDisplayLayer
diff --git a/recipes/directfb/++dfb_1.0.0.bb b/recipes/directfb/++dfb_1.0.0.bb
index 6629c96..40413b9 100644
--- a/recipes/directfb/++dfb_1.0.0.bb
+++ b/recipes/directfb/++dfb_1.0.0.bb
@@ -4,7 +4,9 @@ SECTION = "libs"
 DEPENDS = "directfb"
 LICENSE = "LGPL"
 
-SRC_URI = "http://www.directfb.org/downloads/Extras/++DFB-${PV}.tar.gz"
+PR = "r1"
+SRC_URI = "http://www.directfb.org/downloads/Extras/++DFB-${PV}.tar.gz \
+	    file://dfb-api-change.patch"
 S = "${WORKDIR}/++DFB-${PV}"
 RV = "0.9-25"
 





More information about the Openembedded-commits mailing list