aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/tcltk/tcl-8.5.8/manpages.diff
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/tcltk/tcl-8.5.8/manpages.diff')
-rw-r--r--recipes/tcltk/tcl-8.5.8/manpages.diff23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes/tcltk/tcl-8.5.8/manpages.diff b/recipes/tcltk/tcl-8.5.8/manpages.diff
new file mode 100644
index 0000000000..3dd75b8408
--- /dev/null
+++ b/recipes/tcltk/tcl-8.5.8/manpages.diff
@@ -0,0 +1,23 @@
+Patch by Chris Waters fixes installing of several manual pages which
+aren't installed by upstream script but are referenced inside other
+manual pages.
+
+--- tcl8.5-8.5.8.orig/unix/installManPage
++++ tcl8.5-8.5.8/unix/installManPage
+@@ -48,8 +48,16 @@
+ *.n) SECTION=n ;;
+ esac
+
++NAME=`basename $MANPAGE .$SECTION`
+ SRCDIR=`dirname $MANPAGE`
+
++SPECIALS="DString Thread Notifier RegExp"
++for n in $SPECIALS; do
++ if [ "$NAME" = "$n" ] ; then
++ NAMES="$n $NAMES"
++ fi
++done
++
+ FIRST=""
+ for f in $NAMES; do
+ f=$f.$SECTION$SUFFIX