summaryrefslogtreecommitdiff
path: root/packages/directfb/files/fix-includes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/directfb/files/fix-includes.patch')
-rw-r--r--packages/directfb/files/fix-includes.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/directfb/files/fix-includes.patch b/packages/directfb/files/fix-includes.patch
new file mode 100644
index 0000000000..0c40cdb3a6
--- /dev/null
+++ b/packages/directfb/files/fix-includes.patch
@@ -0,0 +1,24 @@
+#
+# pkgconfig points to STAGING_INCDIR, hence
+# we need to append a directfb/ to make it
+# find its header files
+#
+# Signed-Off: mickey@openmoko.org
+#
+Index: DirectFB-1.0.0/include/directfb.h
+===================================================================
+--- DirectFB-1.0.0.orig/include/directfb.h
++++ DirectFB-1.0.0/include/directfb.h
+@@ -29,10 +29,10 @@
+ #ifndef __DIRECTFB_H__
+ #define __DIRECTFB_H__
+
+-#include <dfb_types.h>
++#include <directfb/dfb_types.h>
+ #include <sys/time.h> /* struct timeval */
+
+-#include <directfb_keyboard.h>
++#include <directfb/directfb_keyboard.h>
+
+ #ifdef __cplusplus
+ extern "C"