aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/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 /multimedia/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 'multimedia/fxtv')
-rw-r--r--multimedia/fxtv/files/patch-ab11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/fxtv/files/patch-ab b/multimedia/fxtv/files/patch-ab
new file mode 100644
index 000000000000..9d861c66b429
--- /dev/null
+++ b/multimedia/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. */