aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2010-01-24 09:42:28 +0800
committermi <mi@FreeBSD.org>2010-01-24 09:42:28 +0800
commitbbcb89200e87168d9a9eb285ea298a185ae5d57e (patch)
tree61a735047439d42c3eadd397fda58b17ccb20d71 /x11-toolkits
parentf821d6c2180991cb5bbe5df6874303f1d2fd729b (diff)
downloadfreebsd-ports-gnome-bbcb89200e87168d9a9eb285ea298a185ae5d57e.tar.gz
freebsd-ports-gnome-bbcb89200e87168d9a9eb285ea298a185ae5d57e.tar.zst
freebsd-ports-gnome-bbcb89200e87168d9a9eb285ea298a185ae5d57e.zip
There is an X11 problem with RenderCreatePicture, when BLT uses Tk-8.5
and the latter has Xft enabled (which is the default). Add a work-around. Obtained from: RedHat
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/blt/files/patch-newertcl15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11-toolkits/blt/files/patch-newertcl b/x11-toolkits/blt/files/patch-newertcl
index 2d89ca77264e..5229ec533b8c 100644
--- a/x11-toolkits/blt/files/patch-newertcl
+++ b/x11-toolkits/blt/files/patch-newertcl
@@ -144,3 +144,18 @@
+ tagsOption.parseProc = (Tk_OptionParseProc *)Tk_CanvasTagsParseProc;
tagsOption.printProc = Tk_CanvasTagsPrintProc;
}
+
+The patch below is obtained from RedHat
+ https://bugzilla.redhat.com/show_bug.cgi?id=504388
+When the problem in Tk-8.5 is fixed, the below work-around
+can be removed from BLT.
+
+--- src/bltText.c 2002-08-13 15:45:20.000000000 -0400
++++ src/bltText.c 2010-01-23 20:35:29.000000000 -0500
+@@ -49,5 +49,5 @@
+ fragPtr = textPtr->fragArr;
+ for (i = 0; i < textPtr->nFrags; i++, fragPtr++) {
+-#if HAVE_UTF
++#if HAVE_UTF && (TCL_VERSION_NUMBER < _VERSION(8,5,0))
+ Tk_DrawChars(display, drawable, gc, font, fragPtr->text,
+ fragPtr->count, x + fragPtr->x, y + fragPtr->y);