From fd24e41261a5314878a8ad7a9415f3778ec78952 Mon Sep 17 00:00:00 2001 From: Denis 'Gnutoo' Carikli Date: Sun, 13 Sep 2009 00:07:11 +0200 Subject: 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 --- .../xf86-video-fbdev/use-staged-headers.patch | 48 ++++++++++++++++++++++ recipes/xorg-driver/xf86-video-fbdev_0.4.0.bb | 2 + 2 files changed, 50 insertions(+) create mode 100644 recipes/xorg-driver/xf86-video-fbdev/use-staged-headers.patch 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 + + /* all driver need this */ +-#include "xf86.h" +-#include "xf86_OSproc.h" ++#include ++#include + +-#include "mipointer.h" +-#include "mibstore.h" +-#include "micmap.h" +-#include "colormapst.h" +-#include "xf86cmap.h" ++#include ++#include ++#include ++#include ++#include + #include "shadow.h" +-#include "dgaproc.h" ++#include + + /* for visuals */ +-#include "fb.h" ++#include + #ifdef USE_AFB + #include "afb.h" + #endif + +-#include "xf86Resources.h" +-#include "xf86RAC.h" ++#include ++#include + +-#include "fbdevhw.h" ++#include + +-#include "xf86xv.h" ++#include + + #ifdef XSERVER_LIBPCIACCESS + #include + 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 += " " -- cgit v1.2.3