aboutsummaryrefslogtreecommitdiff
path: root/x11/XFree86
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2000-06-09 06:25:17 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2000-06-09 06:25:17 +0000
commitaed549fc826821761039d0dbb97dde32979fc411 (patch)
treee2ccae90361f1a1fbff7ee387ff2c066deefe5ae /x11/XFree86
parent4c71ba10bb5f8ed9de3f68df02e619d979a988a7 (diff)
downloadports-aed549fc826821761039d0dbb97dde32979fc411.tar.gz
ports-aed549fc826821761039d0dbb97dde32979fc411.zip
Compile in i810 graphics driver support (without AGP kernel support).
You will need the I810_UNSUPPORTED_GTT_FALLBACK environment variable for XF86_SVGA server to run.
Notes
Notes: svn path=/head/; revision=29429
Diffstat (limited to 'x11/XFree86')
-rw-r--r--x11/XFree86/Makefile3
-rw-r--r--x11/XFree86/files/patch-g9
-rw-r--r--x11/XFree86/scripts/configure2
3 files changed, 13 insertions, 1 deletions
diff --git a/x11/XFree86/Makefile b/x11/XFree86/Makefile
index 44b87614d088..fb1dfbbd6fa0 100644
--- a/x11/XFree86/Makefile
+++ b/x11/XFree86/Makefile
@@ -68,6 +68,9 @@ pre-fetch:
.endif
.endif
+post-extract:
+ @${MV} ${WRKSRC}/programs/Xserver/hw/xfree86/vga256/drivers/i810/os-support/linux/agpgart.h ${WRKSRC}/programs/Xserver/hw/xfree86/vga256/drivers/i810/
+
.include <bsd.port.pre.mk>
pre-install:
diff --git a/x11/XFree86/files/patch-g b/x11/XFree86/files/patch-g
new file mode 100644
index 000000000000..999a5f929328
--- /dev/null
+++ b/x11/XFree86/files/patch-g
@@ -0,0 +1,9 @@
+Index: programs/Xserver/hw/xfree86/vga256/drivers/i810/i810_accel.c
+@@ -39,6 +39,7 @@
+
+ #include <math.h>
+ #include <stdio.h>
++#include <sys/types.h>
+ #include <sys/mman.h>
+ #include <signal.h>
+
diff --git a/x11/XFree86/scripts/configure b/x11/XFree86/scripts/configure
index a47e1deb1fe1..371de6289885 100644
--- a/x11/XFree86/scripts/configure
+++ b/x11/XFree86/scripts/configure
@@ -215,7 +215,7 @@ cat >> $F <<END
cirrus ncr77c22 compaq mga oak al2101 ali \
cl64xx video7 ark mx realtek apm s3_savage s3v \
s3_svga neo chips cyrix rendition p9x00 \
- spc8110 i740 tdfx smi generic
+ spc8110 i740 i810 tdfx smi generic
#define XF86Vga16Drivers et4000 et3000 ncr77c22 ati sis tvga8900 oak \
cl64xx generic