summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2003-07-27 05:41:26 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2003-07-27 05:41:26 +0000
commit83eedb7cd542a3249ca4c4ae9ffbcb8cfc7da0d9 (patch)
tree6b1f6d9977782f912f4c2d302e0d454647c8ac7a /x11-base/xfree-drm/xfree-drm-4.3.0-r6.ebuild
parentfixed ppc url, changed keyword to ~ppc (diff)
downloadhistorical-83eedb7cd542a3249ca4c4ae9ffbcb8cfc7da0d9.tar.gz
historical-83eedb7cd542a3249ca4c4ae9ffbcb8cfc7da0d9.tar.bz2
historical-83eedb7cd542a3249ca4c4ae9ffbcb8cfc7da0d9.zip
Added drm-ioremap patch to fix PPC build.
Diffstat (limited to 'x11-base/xfree-drm/xfree-drm-4.3.0-r6.ebuild')
-rw-r--r--x11-base/xfree-drm/xfree-drm-4.3.0-r6.ebuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/x11-base/xfree-drm/xfree-drm-4.3.0-r6.ebuild b/x11-base/xfree-drm/xfree-drm-4.3.0-r6.ebuild
index 438a0b1cbd89..1c79f37010d6 100644
--- a/x11-base/xfree-drm/xfree-drm-4.3.0-r6.ebuild
+++ b/x11-base/xfree-drm/xfree-drm-4.3.0-r6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree-drm/xfree-drm-4.3.0-r6.ebuild,v 1.3 2003/07/22 16:48:30 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree-drm/xfree-drm-4.3.0-r6.ebuild,v 1.4 2003/07/27 05:41:20 spyderous Exp $
# Small note: we should prob consider using a DRM only tarball, as it will ease
# some of the overhead on older systems, and will enable us to
@@ -19,7 +19,7 @@ DEBUG="yes"
RESTRICT="nostrip"
SNAPSHOT="20030714"
-PATCHVER="0.1"
+PATCHVER="0.2"
S="${WORKDIR}/drm"
DESCRIPTION="Xfree86 Kernel DRM modules"
@@ -42,7 +42,7 @@ SRC_URI="mirror://gentoo/linux-drm-${PV}-kernelsource-${SNAPSHOT}.tar.gz
SLOT="${KV}"
LICENSE="X11"
-KEYWORDS="x86 ~alpha -ppc"
+KEYWORDS="x86 ~alpha ~ppc"
DEPEND=">=x11-base/xfree-${PV}
virtual/linux-sources"
@@ -101,6 +101,11 @@ src_unpack() {
epatch ${PATCHDIR}/${PF}-gentoo-Makefile-fixup.patch
epatch ${PATCHDIR}/${PF}-dristat.patch
+ # For kernels that lack a vmap() implementation taking four arguments, which
+ #the DRM requires for using agpgart with AGP bridges that don't provide
+ #direct CPU access to the AGP aperture.
+ [ "${ARCH}" = "ppc" ] && \
+ epatch ${PATCHDIR}/${PF}-drm-ioremap.patch
# Pfeifer said this patch is ok for any kernel >= 2.4 <spyderous>
# if [ "${KV_major}" -eq 2 -a "${KV_minor}" -eq 4 ] && \