summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/tetex/files/tetex-texdoctk-gentoo.patch')
-rw-r--r--app-text/tetex/files/tetex-texdoctk-gentoo.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-text/tetex/files/tetex-texdoctk-gentoo.patch b/app-text/tetex/files/tetex-texdoctk-gentoo.patch
new file mode 100644
index 000000000000..5d7debd05d78
--- /dev/null
+++ b/app-text/tetex/files/tetex-texdoctk-gentoo.patch
@@ -0,0 +1,11 @@
+--- texk/tetex/texdoctk.orig 2004-05-21 08:16:29.000000000 +0900
++++ texk/tetex/texdoctk 2004-09-09 04:14:46.000000000 +0900
+@@ -316,7 +316,7 @@
+ -fill=>'x',
+ -side=>'right');
+ # handle selection; only one selection possible
+- $tplist->bind('<Button-1>'=>sub{my $slctind=$tplist->curselection();
++ $tplist->bind('<Button-1>'=>sub{my $slctind=$tplist->index($tplist->curselection());
+ $dspselect=$lbitems[$slctind];
+ $docselect=$lbdocs[$slctind];});
+ # key bindings