aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/fxtv
diff options
context:
space:
mode:
authorroger <roger@FreeBSD.org>1999-05-10 16:09:39 +0800
committerroger <roger@FreeBSD.org>1999-05-10 16:09:39 +0800
commitad35492bf545b2cf005488715ba4dff48399f45b (patch)
treeafc25268bddc310f0131a35e2216081d8e369b1f /graphics/fxtv
parent6e6376845efa8af0e6a1368fb1ed103935073988 (diff)
downloadfreebsd-ports-gnome-ad35492bf545b2cf005488715ba4dff48399f45b.tar.gz
freebsd-ports-gnome-ad35492bf545b2cf005488715ba4dff48399f45b.tar.zst
freebsd-ports-gnome-ad35492bf545b2cf005488715ba4dff48399f45b.zip
Fix typo in function XUTILGetVisualBpp(), it causes fxtv to fail on
X server with both depth 8 and 24 visuals. Submitted by: Luoqi Chen <luoqi@watermarkgroup.com>
Diffstat (limited to 'graphics/fxtv')
-rw-r--r--graphics/fxtv/files/patch-ab11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/fxtv/files/patch-ab b/graphics/fxtv/files/patch-ab
new file mode 100644
index 000000000000..9d861c66b429
--- /dev/null
+++ b/graphics/fxtv/files/patch-ab
@@ -0,0 +1,11 @@
+--- xutil.c.orig Thu May 6 12:13:10 1999
++++ xutil.c Thu May 6 01:41:39 1999
+@@ -666,7 +666,7 @@
+
+ /* Look up cached value */
+ for ( i = 0; i < Vlist_len; i++ )
+- if ( Vlist[i].visualid = vi->visualid )
++ if ( Vlist[i].visualid == vi->visualid )
+ break;
+
+ /* Didn't have a cached value? Go figure it out. */