diff options
author | itetcu <itetcu@FreeBSD.org> | 2006-06-18 19:06:06 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2006-06-18 19:06:06 +0800 |
commit | 550a7323229fc6b0a2d8770b628499b75c849ec9 (patch) | |
tree | 67e1db4d19d51873d3b01421ed03f8a1f1bb2d48 /multimedia | |
parent | 770788c70198bee658b3a0f61a310cc6e0460e9e (diff) | |
download | freebsd-ports-gnome-550a7323229fc6b0a2d8770b628499b75c849ec9.tar.gz freebsd-ports-gnome-550a7323229fc6b0a2d8770b628499b75c849ec9.tar.zst freebsd-ports-gnome-550a7323229fc6b0a2d8770b628499b75c849ec9.zip |
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')
-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 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 { + |