summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Becker <geoman@gentoo.org>2006-06-28 17:39:57 +0000
committerStephen Becker <geoman@gentoo.org>2006-06-28 17:39:57 +0000
commit52fae33432f192f2f64121d832de99c731f9a827 (patch)
treece00a1d897197d98a4d15394aea745a310e70891 /x11-drivers/xf86-video-impact
parentMarked ~ppc-macos (diff)
downloadgentoo-2-52fae33432f192f2f64121d832de99c731f9a827.tar.gz
gentoo-2-52fae33432f192f2f64121d832de99c731f9a827.tar.bz2
gentoo-2-52fae33432f192f2f64121d832de99c731f9a827.zip
add patch to fix compilation on non-mips arches where linux-mips tree headers are not present
(Portage version: 2.1.1_pre1-r1)
Diffstat (limited to 'x11-drivers/xf86-video-impact')
-rw-r--r--x11-drivers/xf86-video-impact/ChangeLog8
-rw-r--r--x11-drivers/xf86-video-impact/files/xf86-video-impact-0.2.0-DCACHE.patch18
-rw-r--r--x11-drivers/xf86-video-impact/xf86-video-impact-0.2.0.ebuild4
3 files changed, 28 insertions, 2 deletions
diff --git a/x11-drivers/xf86-video-impact/ChangeLog b/x11-drivers/xf86-video-impact/ChangeLog
index 300d9a8849cb..22316ffc8814 100644
--- a/x11-drivers/xf86-video-impact/ChangeLog
+++ b/x11-drivers/xf86-video-impact/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-drivers/xf86-video-impact
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-impact/ChangeLog,v 1.1 2006/06/28 16:05:39 geoman Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-impact/ChangeLog,v 1.2 2006/06/28 17:39:57 geoman Exp $
+
+ 28 Jun 2006; Stephen P. Becker <geoman@gentoo.org>
+ +files/xf86-video-impact-0.2.0-DCACHE.patch,
+ xf86-video-impact-0.2.0.ebuild:
+ add patch to fix compilation on non-mips arches where linux-mips tree
+ headers are not present
*xf86-video-impact-0.2.0 (28 Jun 2006)
diff --git a/x11-drivers/xf86-video-impact/files/xf86-video-impact-0.2.0-DCACHE.patch b/x11-drivers/xf86-video-impact/files/xf86-video-impact-0.2.0-DCACHE.patch
new file mode 100644
index 000000000000..7875de85dfc6
--- /dev/null
+++ b/x11-drivers/xf86-video-impact/files/xf86-video-impact-0.2.0-DCACHE.patch
@@ -0,0 +1,18 @@
+--- src/impact_shadow.c.orig 2006-06-28 12:27:59.000000000 -0400
++++ src/impact_shadow.c 2006-06-28 12:30:44.000000000 -0400
+@@ -14,11 +14,13 @@
+ #include "config.h"
+ #endif
+
+-#include <asm/cachectl.h>
+-#include <sys/cachectl.h>
++/*#include <asm/cachectl.h>
++#include <sys/cachectl.h>*/
+ #include <sys/ioctl.h>
+ #include "impact.h"
+
++#define DCACHE (1<<1) /* writeback and flush data cache */
++
+ /*
+ * 4th parameter to be passed to xf86SetDepthBpp()
+ */
diff --git a/x11-drivers/xf86-video-impact/xf86-video-impact-0.2.0.ebuild b/x11-drivers/xf86-video-impact/xf86-video-impact-0.2.0.ebuild
index 550debf938bb..28e695bbdd24 100644
--- a/x11-drivers/xf86-video-impact/xf86-video-impact-0.2.0.ebuild
+++ b/x11-drivers/xf86-video-impact/xf86-video-impact-0.2.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-impact/xf86-video-impact-0.2.0.ebuild,v 1.1 2006/06/28 16:05:39 geoman Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-impact/xf86-video-impact-0.2.0.ebuild,v 1.2 2006/06/28 17:39:57 geoman Exp $
# Must be before x-modular eclass is inherited
# SNAPSHOT="yes"
@@ -17,3 +17,5 @@ DEPEND="${RDEPEND}
x11-proto/renderproto
x11-proto/videoproto
x11-proto/xproto"
+
+PATCHES="${FILESDIR}/${P}-DCACHE.patch"