aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2010-01-24 01:42:28 +0000
committerMikhail Teterin <mi@FreeBSD.org>2010-01-24 01:42:28 +0000
commit12154adf6241da2f5b5d6b744b4e701825b669b8 (patch)
tree7a8937611b2421e8e40ff69c3e3d574c21b24d76
parentf686b7522fb02434aeb914babd85e4752bea63a4 (diff)
downloadports-12154adf6241da2f5b5d6b744b4e701825b669b8.tar.gz
ports-12154adf6241da2f5b5d6b744b4e701825b669b8.zip
Notes
-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);