summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-01-21 17:18:15 +0000
committerJustin Lecher <jlec@gentoo.org>2013-01-21 17:18:15 +0000
commita5e8760b8b4d6836123d3698a989793d674229b8 (patch)
tree93d4905f025b97e7eeed20aacde9722713a6de43 /dev-tcltk/tix/files/tix-8.4.3-tcl8.6.patch
parentMarked stable for amd64 wrt bug #453106 (diff)
downloadgentoo-2-a5e8760b8b4d6836123d3698a989793d674229b8.tar.gz
gentoo-2-a5e8760b8b4d6836123d3698a989793d674229b8.tar.bz2
gentoo-2-a5e8760b8b4d6836123d3698a989793d674229b8.zip
dev-tcltk/tix: Add fix tcl-8.6, #453370
(Portage version: 2.2.0_alpha158/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'dev-tcltk/tix/files/tix-8.4.3-tcl8.6.patch')
-rw-r--r--dev-tcltk/tix/files/tix-8.4.3-tcl8.6.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-tcltk/tix/files/tix-8.4.3-tcl8.6.patch b/dev-tcltk/tix/files/tix-8.4.3-tcl8.6.patch
new file mode 100644
index 000000000000..98165a899591
--- /dev/null
+++ b/dev-tcltk/tix/files/tix-8.4.3-tcl8.6.patch
@@ -0,0 +1,18 @@
+ generic/tixGrSort.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/generic/tixGrSort.c b/generic/tixGrSort.c
+index 7dee30f..26ec054 100644
+--- a/generic/tixGrSort.c
++++ b/generic/tixGrSort.c
+@@ -447,8 +447,8 @@ SortCompareProc(first, second)
+ * Parse the result of the command.
+ */
+
+- order = strtol(sortInterp->result, &end, 0);
+- if ((end == sortInterp->result) || (*end != 0)) {
++ order = strtol(Tcl_GetResult(sortInterp), &end, 0);
++ if ((end == Tcl_GetResult(sortInterp)) || (*end != 0)) {
+ Tcl_ResetResult(sortInterp);
+ Tcl_AppendResult(sortInterp,
+ "comparison command returned non-numeric result",