]> xenbits.xensource.com Git - xenclient/build.git/commitdiff
[package/x11r7/intel]: Force dri.
authorJean Guyader <jean.guyader@eu.citrix.com>
Thu, 26 Nov 2009 14:40:08 +0000 (14:40 +0000)
committerJean Guyader <jean.guyader@eu.citrix.com>
Thu, 26 Nov 2009 14:40:08 +0000 (14:40 +0000)
package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel-force-dri.patch [new file with mode: 0644]

diff --git a/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel-force-dri.patch b/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel-force-dri.patch
new file mode 100644 (file)
index 0000000..c19eae5
--- /dev/null
@@ -0,0 +1,52 @@
+diff --git a/configure.ac b/configure.ac
+index be4a25f..992ef7f 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -97,27 +97,27 @@ AC_HEADER_STDC
+ 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 x$DRI != xno; then
+-        AC_CHECK_FILE([${sdkdir}/dri.h],
+-                      [have_dri_h="yes"], [have_dri_h="no"])
+-        AC_CHECK_FILE([${sdkdir}/sarea.h],
+-                      [have_sarea_h="yes"], [have_sarea_h="no"])
+-        AC_CHECK_FILE([${sdkdir}/dristruct.h],
+-                      [have_dristruct_h="yes"], [have_dristruct_h="no"])
+-      AC_CHECK_FILE([${sdkdir}/damage.h],
+-                      [have_damage_h="yes"], [have_damage_h="no"])
+-fi
+-AC_MSG_CHECKING([whether to include DRI support])
+-if test x$DRI = xauto; then
+-        if test "$have_dri_h" = yes -a \
+-                "$have_sarea_h" = yes -a \
+-                "$have_dristruct_h" = yes; then
++#AC_MSG_CHECKING([whether to include DRI support])
++#if 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],
++#                      [have_sarea_h="yes"], [have_sarea_h="no"])
++#        AC_CHECK_FILE([${sdkdir}/dristruct.h],
++#                      [have_dristruct_h="yes"], [have_dristruct_h="no"])
++#     AC_CHECK_FILE([${sdkdir}/damage.h],
++#                      [have_damage_h="yes"], [have_damage_h="no"])
++#fi
++#AC_MSG_CHECKING([whether to include DRI support])
++#if test x$DRI = xauto; then
++#        if test "$have_dri_h" = yes -a \
++#                "$have_sarea_h" = yes -a \
++#                "$have_dristruct_h" = yes; then
+                 DRI="yes"
+-        else
+-                DRI="no"
+-        fi
+-fi
++#        else
++#                DRI="no"
++#        fi
++#fi
+ AC_MSG_RESULT([$DRI])
+ AM_CONDITIONAL(BUILD_UXA, test $BUILD_UXA = yes)