diff options
author | itetcu <itetcu@FreeBSD.org> | 2006-06-18 11:06:06 +0000 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2006-06-18 11:06:06 +0000 |
commit | 550a7323229fc6b0a2d8770b628499b75c849ec9 (patch) | |
tree | 67e1db4d19d51873d3b01421ed03f8a1f1bb2d48 /multimedia/fxtv | |
parent | 770788c70198bee658b3a0f61a310cc6e0460e9e (diff) | |
download | FreeBSD-ports-550a7323229fc6b0a2d8770b628499b75c849ec9.zip FreeBSD-ports-550a7323229fc6b0a2d8770b628499b75c849ec9.tar.gz |
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>
Diffstat (limited to 'multimedia/fxtv')
-rw-r--r-- | multimedia/fxtv/files/patch-tvscreen.c | 13 |
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 0000000..d9637b8 --- /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 { + |