summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/directfb/directfb-1.4.6/mkdfiff.patch
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2011-01-13 14:54:34 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-01 15:39:22 +0000
commit70ce04977c9d752430f9a01a01d6db5bf501ba42 (patch)
tree604184b3dc5579b8792092e40599b72ba05506c0 /meta/recipes-graphics/directfb/directfb-1.4.6/mkdfiff.patch
parentbc31351f6989372c7feb403f23532afd1f510fb1 (diff)
downloadpoky-70ce04977c9d752430f9a01a01d6db5bf501ba42.tar.gz
Add directfb 1.4.6 from meta-openembedded
This package has been added from meta-openembedded in order to be able to build qt4-embedded. The only change was to remove do_install() which was exactly the same as autotools_do_install(). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'meta/recipes-graphics/directfb/directfb-1.4.6/mkdfiff.patch')
-rw-r--r--meta/recipes-graphics/directfb/directfb-1.4.6/mkdfiff.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-graphics/directfb/directfb-1.4.6/mkdfiff.patch b/meta/recipes-graphics/directfb/directfb-1.4.6/mkdfiff.patch
new file mode 100644
index 0000000000..28bd534f37
--- /dev/null
+++ b/meta/recipes-graphics/directfb/directfb-1.4.6/mkdfiff.patch
@@ -0,0 +1,24 @@
1diff -uNr DirectFB-1.4.6.orig/tools/mkdfiff.c DirectFB-1.4.6/tools/mkdfiff.c
2--- DirectFB-1.4.6.orig/tools/mkdfiff.c 2010-10-15 10:54:57.000000000 +0200
3+++ DirectFB-1.4.6/tools/mkdfiff.c 2010-10-15 10:54:15.000000000 +0200
4@@ -50,6 +50,8 @@
5
6 #include <dfiff.h>
7
8+#include <unistd.h>
9+
10 static DirectFBPixelFormatNames( format_names );
11
12 static const char *filename;
13diff -uNr DirectFB-1.4.6.orig/tools/mkdgifft.cpp DirectFB-1.4.6/tools/mkdgifft.cpp
14--- DirectFB-1.4.6.orig/tools/mkdgifft.cpp 2010-10-08 14:02:57.000000000 +0200
15+++ DirectFB-1.4.6/tools/mkdgifft.cpp 2010-10-15 10:56:06.000000000 +0200
16@@ -40,6 +40,8 @@
17 #include <errno.h>
18 #include <stdio.h>
19 #include <stdlib.h>
20+#include <sys/stat.h>
21+#include <sys/types.h>
22 #include <unistd.h>
23 #include <fcntl.h>
24 #include <sys/mman.h>