diff options
author | tg <tg@FreeBSD.org> | 1996-11-15 16:27:38 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 1996-11-15 16:27:38 +0800 |
commit | fc42bb4dcc5fcfceab3ee153d14ab9c5a67d81f0 (patch) | |
tree | 35fa9f5af5da9061e1c06bbba540d63f45c1e9cb /misc | |
parent | 1c7401ad3a78d3492641cd24a4a99e6c4d66dcfb (diff) | |
download | freebsd-ports-gnome-fc42bb4dcc5fcfceab3ee153d14ab9c5a67d81f0.tar.gz freebsd-ports-gnome-fc42bb4dcc5fcfceab3ee153d14ab9c5a67d81f0.tar.zst freebsd-ports-gnome-fc42bb4dcc5fcfceab3ee153d14ab9c5a67d81f0.zip |
Better workaround for manpath(1).
Diffstat (limited to 'misc')
-rw-r--r-- | misc/tkman/files/patch-ab | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/misc/tkman/files/patch-ab b/misc/tkman/files/patch-ab index 6559dd684baf..38a7fa02bfc6 100644 --- a/misc/tkman/files/patch-ab +++ b/misc/tkman/files/patch-ab @@ -1,11 +1,11 @@ ---- tkman.tcl.orig Fri Nov 8 00:12:03 1996 -+++ tkman.tcl Sun Nov 10 20:57:01 1996 -@@ -5340,7 +5340,7 @@ - - # versions of supporting binaries, if those binaries happen to be used - set manx(bin-versregexp) {([0-9]+\.[0-9]+)([^ ,;]+)?} ;#(\.[0-9]+)? --set manx(bin-versioned) {{rman "-v" 2.4} {glimpse "-V" 2.1} {glimpseindex "-V" 2.1}} -+set manx(bin-versioned) {{rman "-v" 2.4} {glimpse "-V" 2.1}} - set manx(modes) {man help section txt apropos super info} - # bug} - set manx(mode-desc) {"manual pages seen" "references to help page" "volume listings invoked" "text files seen" "apropos listings" "Glimpse full-text searches" "ganders at this page"} +--- tkman.tcl.orig Mon Nov 11 21:18:41 1996 ++++ tkman.tcl Thu Nov 14 20:07:27 1996 +@@ -5018,7 +5018,7 @@ + # ... then check for proper versions of selected executables + if {[set info [lassoc $manx(bin-versioned) $tail]]!=""} { + lset $info flag minvers +- set execerr [catch {set lines [exec $fullpath $flag < /dev/null]} info] ++ set execerr [catch {set lines [exec $fullpath $flag < /dev/null 2> /dev/null]} info] + } elseif {[string match "g*" $tail]} { + # could be a GNU -- maybe take this out since it lengthens startup for all in exchange for small benefit for few + set minvers 0.0 |