Gentoo Archives: gentoo-commits

From: "Remi Cardona (remi)" <remi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-drivers/xf86-video-i810/files: xf86-video-i810-2.4.2-0003-never-enable-DRI_MM-on-this-branch.patch
Date: Sun, 19 Oct 2008 22:15:54
Message-Id: E1KrgYw-0007fj-Ls@stork.gentoo.org
remi        08/10/19 22:15:50

  Added:               
                        xf86-video-i810-2.4.2-0003-never-enable-DRI_MM-on-this-branch.patch
  Log:
  x11-drivers/xf86-video-i810: add patch for libdrm 2.4.0 support
  (Portage version: 2.2_rc12/cvs/Linux 2.6.26-gentoo-r1 i686)

Revision  Changes    Path
1.1                  x11-drivers/xf86-video-i810/files/xf86-video-i810-2.4.2-0003-never-enable-DRI_MM-on-this-branch.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-video-i810/files/xf86-video-i810-2.4.2-0003-never-enable-DRI_MM-on-this-branch.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-video-i810/files/xf86-video-i810-2.4.2-0003-never-enable-DRI_MM-on-this-branch.patch?rev=1.1&content-type=text/plain

Index: xf86-video-i810-2.4.2-0003-never-enable-DRI_MM-on-this-branch.patch
===================================================================
From 4d7cd8cec7ba56230b298986d7a91a7587984bc4 Mon Sep 17 00:00:00 2001
From: Remi Cardona <remi@g.o>
Date: Sun, 19 Oct 2008 23:45:14 +0200
Subject: [PATCH] never enable DRI_MM on this branch

---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 809e84d..04e31f3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -202,7 +202,7 @@ if test "$DRI" = yes; then
         PKG_CHECK_MODULES(DRI, [libdrm xf86driproto glproto])
         AC_DEFINE(XF86DRI,1,[Enable DRI driver support])
         AC_DEFINE(XF86DRI_DEVEL,1,[Enable developmental DRI driver support])
-	PKG_CHECK_MODULES(DRI_MM, [libdrm >= 2.4.0],[DRI_MM=yes], [DRI_MM=no])
+	DRI_MM="no"
 	if test "x$DRI_MM" = xyes; then
 		AC_DEFINE(XF86DRI_MM,1,[Extended DRI memory management])
 	fi
-- 
1.6.0.2