summaryrefslogtreecommitdiff
path: root/recipes/xorg-driver
diff options
context:
space:
mode:
authorDenis 'Gnutoo' Carikli <GNUtoo@no-log.org>2009-09-13 00:07:11 +0200
committerDenis 'Gnutoo' Carikli <GNUtoo@no-log.org>2009-09-24 13:38:30 +0200
commitfd24e41261a5314878a8ad7a9415f3778ec78952 (patch)
tree9551a132756ec8b40d23c6362408ab9fd5b418dc /recipes/xorg-driver
parentbd40807158b26bbe1b5014d8f3609c3af30863e9 (diff)
xf86-video-fbdev-0.4.0 : force it to use staged headers
by default it wants to use non-existant local headers so we force it to use staged the headers
Diffstat (limited to 'recipes/xorg-driver')
-rw-r--r--recipes/xorg-driver/xf86-video-fbdev/use-staged-headers.patch48
-rw-r--r--recipes/xorg-driver/xf86-video-fbdev_0.4.0.bb2
2 files changed, 50 insertions, 0 deletions
diff --git a/recipes/xorg-driver/xf86-video-fbdev/use-staged-headers.patch b/recipes/xorg-driver/xf86-video-fbdev/use-staged-headers.patch
new file mode 100644
index 0000000000..0bf41fd4dd
--- /dev/null
+++ b/recipes/xorg-driver/xf86-video-fbdev/use-staged-headers.patch
@@ -0,0 +1,48 @@
+Index: xf86-video-fbdev-0.4.0/src/fbdev.c
+===================================================================
+--- xf86-video-fbdev-0.4.0.orig/src/fbdev.c
++++ xf86-video-fbdev-0.4.0/src/fbdev.c
+@@ -10,29 +10,29 @@
+ #include <string.h>
+
+ /* all driver need this */
+-#include "xf86.h"
+-#include "xf86_OSproc.h"
++#include <xf86.h>
++#include <xf86_OSproc.h>
+
+-#include "mipointer.h"
+-#include "mibstore.h"
+-#include "micmap.h"
+-#include "colormapst.h"
+-#include "xf86cmap.h"
++#include <mipointer.h>
++#include <mibstore.h>
++#include <micmap.h>
++#include <colormapst.h>
++#include <xf86cmap.h>
+ #include "shadow.h"
+-#include "dgaproc.h"
++#include <dgaproc.h>
+
+ /* for visuals */
+-#include "fb.h"
++#include <fb.h>
+ #ifdef USE_AFB
+ #include "afb.h"
+ #endif
+
+-#include "xf86Resources.h"
+-#include "xf86RAC.h"
++#include <xf86Resources.h>
++#include <xf86RAC.h>
+
+-#include "fbdevhw.h"
++#include <fbdevhw.h>
+
+-#include "xf86xv.h"
++#include <xf86xv.h>
+
+ #ifdef XSERVER_LIBPCIACCESS
+ #include <pciaccess.h>
+
diff --git a/recipes/xorg-driver/xf86-video-fbdev_0.4.0.bb b/recipes/xorg-driver/xf86-video-fbdev_0.4.0.bb
index ee2ec96eb5..ea21fd3dc8 100644
--- a/recipes/xorg-driver/xf86-video-fbdev_0.4.0.bb
+++ b/recipes/xorg-driver/xf86-video-fbdev_0.4.0.bb
@@ -3,4 +3,6 @@ PE = "1"
DESCRIPTION = "X.Org X server -- fbdev display driver"
+FILES_${PN} += " file://use-staged-headers.patch;patch=1"
+
#DEPENDS += " "