pkgsrc/x11/tkinfo/patches/patch-aa
minskim bd1bfb8b83 Update tkinfo to 2.8. Patch provided by guru at nscl dot msu dot edu
in PR pkg/25528.  While here, switch to Tk 8.4.

Changes since 2.5:

Version 2.8 (22-March-2004): Removed a subtle bug found by Haakon
Riiser; now works correctly with identically named info files in
different directories.

Version 2.7 (21-March-2004): Will now also accept a menu item of the
dir file on the command line (closes Debian bug #149387). Included
/usr/share/info in default directory list (for Debian). Some
documentation updates. Now includes TkInfo.xpm from Debian (under
GPL). Options are now read from system-wide app-defaults file as
advertised.

Version 2.6 (25-June-2003): Minor fixes needed for Tcl/Tk 8.4. This
still works with older versions of Tcl/Tk.
2004-05-12 15:08:13 +00:00

19 lines
675 B
Text

$NetBSD: patch-aa,v 1.6 2004/05/12 15:08:20 minskim Exp $
--- tkinfo.orig 2004-03-22 17:56:39.000000000 -0600
+++ tkinfo
@@ -510,11 +510,9 @@ proc tkiInit { } {
# No need to do this if we have been called before
if { [info exist tki(sn)] } return
- set defInfoPath [list . \
- /usr/info /usr/share/info /usr/local/info /usr/local/gnu/info \
- /usr/local/emacs/info /usr/local/lib/emacs/info \
- /usr/lib/xemacs/info /usr/local/lib/xemacs/info \
- /usr/gnu/info \
+ set defInfoPath [list . /usr/share/info \
+ @LOCALBASE@/info @X11BASE@/info \
+ /usr/info /usr/local/info \
]
set defInfoSuffix [list .info -info ""]