summaryrefslogtreecommitdiffstats
path: root/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel-2.9.1-cross-compile.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-03-08 14:12:33 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-03-08 14:12:33 +0100
commit3244ba1bcf5c196c922463b5020050092facecba (patch)
tree6cea1647fb75c45d0222f61c2772e57a41465d14 /package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel-2.9.1-cross-compile.patch
parent73f244d59483dd9dcddf29cb6c92d9bcdc6f7898 (diff)
parent3437f2bee3e2adf58eb690e9ff7c493e683d43fa (diff)
downloadbuildroot-novena-3244ba1bcf5c196c922463b5020050092facecba.tar.gz
buildroot-novena-3244ba1bcf5c196c922463b5020050092facecba.zip
Merge branch 'x11r75' of git://gitorious.org/takeme-buildroot/takeme-buildroot
Diffstat (limited to 'package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel-2.9.1-cross-compile.patch')
-rw-r--r--package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel-2.9.1-cross-compile.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel-2.9.1-cross-compile.patch b/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel-2.9.1-cross-compile.patch
new file mode 100644
index 000000000..76a33eb1d
--- /dev/null
+++ b/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel-2.9.1-cross-compile.patch
@@ -0,0 +1,25 @@
+--- xdriver_xf86-video-intel-2.9.1/configure.ac.orig 2010-01-28 11:18:27.526329157 +0200
++++ xdriver_xf86-video-intel-2.9.1/configure.ac 2010-01-28 11:21:38.065198735 +0200
+@@ -114,6 +114,7 @@ save_CFLAGS="$CFLAGS"
+ CFLAGS="$XORG_CFLAGS $DRI_CFLAGS $drm_cflags"
+ CPPFLAGS="$XORG_CFLAGS $DRI_CFLAGS $drm_cflags"
+ AC_MSG_CHECKING([whether to include DRI support])
++if test "$cross_compiling" = "no" ; then
+ if test x$DRI != xno; then
+ AC_CHECK_FILE([${sdkdir}/dri.h],
+ [have_dri_h="yes"], [have_dri_h="no"])
+@@ -132,6 +133,14 @@ if test x$DRI = xauto; then
+ DRI="no"
+ fi
+ fi
++else
++if test x$DRI != xno; then
++ have_dri_h="yes"
++ have_sarea_h="yes"
++ have_dristruct_h="yes"
++ DRI="yes"
++fi
++fi
+ AC_MSG_RESULT([$DRI])
+ CFLAGS="$save_CFLAGS $DEBUGFLAGS"
+