summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-01-15 13:57:49 +0000
committerJustin Lecher <jlec@gentoo.org>2013-01-15 13:57:49 +0000
commit2ae14a349b193853cde60149ff4d2d59916811da (patch)
tree9de235ee7c77b0448e5036ccb37349d6c14ff6d4 /sci-libs/vtk/files/vtk-5.10.1-tcl8.6.patch
parentapp-misc/byobu: Version Bump, #452140; move to python-single-r1.eclass (diff)
downloadgentoo-2-2ae14a349b193853cde60149ff4d2d59916811da.tar.gz
gentoo-2-2ae14a349b193853cde60149ff4d2d59916811da.tar.bz2
gentoo-2-2ae14a349b193853cde60149ff4d2d59916811da.zip
sci-libs/vtk: Better fix for tcl support
(Portage version: 2.2.0_alpha152/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)
Diffstat (limited to 'sci-libs/vtk/files/vtk-5.10.1-tcl8.6.patch')
-rw-r--r--sci-libs/vtk/files/vtk-5.10.1-tcl8.6.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/sci-libs/vtk/files/vtk-5.10.1-tcl8.6.patch b/sci-libs/vtk/files/vtk-5.10.1-tcl8.6.patch
new file mode 100644
index 000000000000..85ba2b197b7f
--- /dev/null
+++ b/sci-libs/vtk/files/vtk-5.10.1-tcl8.6.patch
@@ -0,0 +1,40 @@
+ Common/vtkTclUtil.cxx | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/Common/vtkTclUtil.cxx b/Common/vtkTclUtil.cxx
+index 390b0a4..0a925ee 100644
+--- a/Common/vtkTclUtil.cxx
++++ b/Common/vtkTclUtil.cxx
+@@ -490,13 +490,13 @@ VTKTCL_EXPORT void vtkTclVoidFunc(void *arg)
+ vtkGenericWarningMacro("Error returned from vtk/tcl callback:\n" <<
+ arg2->command << endl <<
+ Tcl_GetVar(arg2->interp,(char *)("errorInfo"),0) <<
+- " at line number " << arg2->interp->errorLine);
++ " at line number " << Tcl_GetErrorLine(arg2->interp));
+ }
+ else
+ {
+ vtkGenericWarningMacro("Error returned from vtk/tcl callback:\n" <<
+ arg2->command << endl <<
+- " at line number " << arg2->interp->errorLine);
++ " at line number " << Tcl_GetErrorLine(arg2->interp));
+ }
+ }
+ }
+@@ -723,14 +723,14 @@ void vtkTclCommand::Execute(vtkObject *, unsigned long, void *)
+ vtkGenericWarningMacro("Error returned from vtk/tcl callback:\n" <<
+ this->StringCommand << endl <<
+ Tcl_GetVar(this->Interp,(char *)("errorInfo"),0) <<
+- " at line number " << this->Interp->errorLine);
++ " at line number " << Tcl_GetErrorLine(this->Interp));
+ }
+ else
+ {
+ vtkGenericWarningMacro("Error returned from vtk/tcl callback:\n" <<
+ this->StringCommand << endl <<
+ " at line number " <<
+- this->Interp->errorLine);
++ Tcl_GetErrorLine(this->Interp));
+ }
+ }
+ else if (res == -1)