summaryrefslogtreecommitdiff
path: root/multimedia/fxtv
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-06-18 11:06:06 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-06-18 11:06:06 +0000
commit6881e0a29dfca9414bbbd0b42a74c98fd85f67f4 (patch)
tree140c055c0eed70980c65285084f644e1e7e69c50 /multimedia/fxtv
parentUpdate to version 0.2.16 (diff)
Completely disable DGA when -disableDirectV is given on the commandline; This
should fix the port for some newer NVIDIA drivers which are broken w.r.t. DGA. PR: ports/98700 Submitted by: Andre Albsmeier <Andre.Albsmeier@siemens.com>
Notes
Notes: svn path=/head/; revision=165681
Diffstat (limited to 'multimedia/fxtv')
-rw-r--r--multimedia/fxtv/files/patch-tvscreen.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/multimedia/fxtv/files/patch-tvscreen.c b/multimedia/fxtv/files/patch-tvscreen.c
new file mode 100644
index 000000000000..d9637b830f7f
--- /dev/null
+++ b/multimedia/fxtv/files/patch-tvscreen.c
@@ -0,0 +1,13 @@
+--- tvscreen.c.ORI Sun May 21 15:49:47 2000
++++ tvscreen.c Wed Jun 7 10:19:30 2006
+@@ -480,6 +480,9 @@
+ dga_avail = FALSE;
+
+ #ifdef HAVE_XFREE86
++ if ( App_res.disable_direct_v )
++ SUPRINTF(( "Will not init DGA since -disableDirectV was given.\n" ));
++ else
+ if ( !XUTILXServerIsLocal( TVDISPLAY ) )
+ SUPRINTF(( "XF86DGA not available...X Server isn't local.\n" ));
+ else {
+