diff options
Diffstat (limited to 'package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel-2.10.0-cross-compile.patch')
-rw-r--r-- | package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel-2.10.0-cross-compile.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel-2.10.0-cross-compile.patch b/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel-2.10.0-cross-compile.patch new file mode 100644 index 000000000..0b020ac5c --- /dev/null +++ b/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel-2.10.0-cross-compile.patch @@ -0,0 +1,11 @@ +--- a/configure.ac.orig 2010-01-04 22:20:07.000000000 +0000 ++++ b/configure.ac 2010-02-19 12:12:50.000000000 +0000 +@@ -103,7 +103,7 @@ + CFLAGS="$XORG_CFLAGS $DRI_CFLAGS $DRM_CFLAGS" + CPPFLAGS="$XORG_CFLAGS $DRI_CFLAGS $DRM_CFLAGS" + AC_MSG_CHECKING([whether to include DRI support]) +-if test x$DRI != xno; then ++if test "$cross_compiling" = "no" -a test x$DRI != xno; then + AC_CHECK_FILE([${sdkdir}/dri.h], + [have_dri_h="yes"], [have_dri_h="no"]) + AC_CHECK_FILE([${sdkdir}/sarea.h], |