summaryrefslogtreecommitdiff
path: root/packages/xorg-driver
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-01-07 18:40:13 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-01-07 18:40:13 +0000
commitb2074fa8c95c3afcf62327d0cdeccf0528433f93 (patch)
tree8194bf6d42a39a4b217af3261143e6e3a61c997b /packages/xorg-driver
parent4895e039e581f91bbdd24532e297d67000bef2d2 (diff)
xf86-video-vesa: fix CROSS COMPILE BADNESS
Diffstat (limited to 'packages/xorg-driver')
-rw-r--r--packages/xorg-driver/xf86-video-vesa/.mtn2git_empty0
-rw-r--r--packages/xorg-driver/xf86-video-vesa/fix-includepath.patch13
-rw-r--r--packages/xorg-driver/xf86-video-vesa_X11R7.1-1.2.0.bb2
3 files changed, 15 insertions, 0 deletions
diff --git a/packages/xorg-driver/xf86-video-vesa/.mtn2git_empty b/packages/xorg-driver/xf86-video-vesa/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xorg-driver/xf86-video-vesa/.mtn2git_empty
diff --git a/packages/xorg-driver/xf86-video-vesa/fix-includepath.patch b/packages/xorg-driver/xf86-video-vesa/fix-includepath.patch
new file mode 100644
index 0000000000..c8a79c055b
--- /dev/null
+++ b/packages/xorg-driver/xf86-video-vesa/fix-includepath.patch
@@ -0,0 +1,13 @@
+Index: xf86-video-vesa-X11R7.1-1.2.0/configure.ac
+===================================================================
+--- xf86-video-vesa-X11R7.1-1.2.0.orig/configure.ac 2007-01-07 19:28:00.000000000 +0100
++++ xf86-video-vesa-X11R7.1-1.2.0/configure.ac 2007-01-07 19:28:02.000000000 +0100
+@@ -57,7 +57,7 @@
+ sdkdir=$(pkg-config --variable=sdkdir xorg-server)
+
+ CFLAGS="$CFLAGS $XORG_CFLAGS "' -I$(top_srcdir)/src'
+-INCLUDES="$XORG_INCS -I${sdkdir} "'-I$(top_srcdir)/src -I$(prefix)/include'
++INCLUDES="$XORG_INCS -I${sdkdir} "'-I$(top_srcdir)/src'
+ AC_SUBST([CFLAGS])
+ AC_SUBST([INCLUDES])
+
diff --git a/packages/xorg-driver/xf86-video-vesa_X11R7.1-1.2.0.bb b/packages/xorg-driver/xf86-video-vesa_X11R7.1-1.2.0.bb
index a87a5f7a56..c04d4b4346 100644
--- a/packages/xorg-driver/xf86-video-vesa_X11R7.1-1.2.0.bb
+++ b/packages/xorg-driver/xf86-video-vesa_X11R7.1-1.2.0.bb
@@ -1,5 +1,7 @@
require xorg-driver-video.inc
+SRC_URI += "file://fix-includepath.patch;patch=1"
+
#DESCRIPTION = ""
#DEPENDS += " "