From bdc4445a204331882ed2c0d57cc7cbbc238f5966 Mon Sep 17 00:00:00 2001 From: Jean Guyader Date: Thu, 26 Nov 2009 14:40:08 +0000 Subject: [PATCH] [package/x11r7/intel]: Force dri. --- .../xdriver_xf86-video-intel-force-dri.patch | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel-force-dri.patch 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 index 0000000..c19eae5 --- /dev/null +++ b/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel-force-dri.patch @@ -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) -- 2.39.5