Debian Codegraph @

debian/patches/05-tk8.5-zoomstack.patch

raw
1 * Apply 3 changes based on revisions developed by the fedora linux team.
2 + 03-fedora-patch-2.diff
3 + 04-fedora-tk8.5.6.patch.diff
4 --> + 05-tk8.5-zoomstack.diff
5 * Those patches are required to solve segmentation faults that are observed
6 when blt is used with tcltk 8.5. We have a substantial amount of
7 experience using this patched version of blt in the Swarm
8 Simulation System (www.swarm.org) and have observed no ill-effects.
9 Author: Paul E. Johnson (Debian Packaging) <[email protected]>
10
11 --- a/library/Makefile.in
12 +++ b/library/Makefile.in
13 @@ -29,6 +29,7 @@
14 tabnotebook.tcl \
15 tabset.tcl \
16 treeview.tcl \
17 + ZoomStack.itcl \
18 tvutil.tcl \
19 init.tcl \
20 tclIndex \
21 --- a/library/ZoomStack.itcl
22 +++ b/library/ZoomStack.itcl
23 @@ -1,4 +1,6 @@
24 -import add itcl
25 +#import add itcl
26 +package require Itcl
27 +namespace import itcl::*
28
29 class ZoomStackGraph {
30
31 @@ -48,6 +50,7 @@
32 private method SaveCoords { x y }
33 private method Zoom {}
34 private method Unzoom {}
35 + private method Empty {}
36 private method Push { cmd }
37 private method Pop {}
38 private method MarkPoint { x y }