diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-01-06 01:34:35 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-01-06 01:34:35 +0000 |
commit | 1dad0e7576bfa573f616adad38ce8fbff4d956ce (patch) | |
tree | 82484fc7738bbc572d8d88dbe874b81685c60bcd /sys-apps/man/files | |
parent | Fix miscalled use_enable(). This would result in Fortran not being enabled as... (diff) | |
download | gentoo-2-1dad0e7576bfa573f616adad38ce8fbff4d956ce.tar.gz gentoo-2-1dad0e7576bfa573f616adad38ce8fbff4d956ce.tar.bz2 gentoo-2-1dad0e7576bfa573f616adad38ce8fbff4d956ce.zip |
Fix path in makewhatis #160317 by Paul Taylor, make sure #!shebangs arent destroyed to handle lame root shells #159192 by Gautam Iyer, and include some more headers.
(Portage version: 2.1.2_rc4-r6)
Diffstat (limited to 'sys-apps/man/files')
-rw-r--r-- | sys-apps/man/files/digest-man-1.6e-r1 | 3 | ||||
-rw-r--r-- | sys-apps/man/files/makewhatis.cron | 2 | ||||
-rw-r--r-- | sys-apps/man/files/man-1.6e-dont-kill-shebangs.patch | 25 | ||||
-rw-r--r-- | sys-apps/man/files/man-1.6e-headers.patch | 13 |
4 files changed, 42 insertions, 1 deletions
diff --git a/sys-apps/man/files/digest-man-1.6e-r1 b/sys-apps/man/files/digest-man-1.6e-r1 new file mode 100644 index 000000000000..69ec127910e1 --- /dev/null +++ b/sys-apps/man/files/digest-man-1.6e-r1 @@ -0,0 +1,3 @@ +MD5 d8187cd756398baefc48ba7d60ff6a8a man-1.6e.tar.gz 252657 +RMD160 486099dc1b34fe86a2c1d19b7c89dc19b9787837 man-1.6e.tar.gz 252657 +SHA256 022faf23844eabb3662eabb105836925dd83bedda10271e2450a5bc5b61a5b5f man-1.6e.tar.gz 252657 diff --git a/sys-apps/man/files/makewhatis.cron b/sys-apps/man/files/makewhatis.cron index 6bcf1105e5f9..bef5ea6d1e2d 100644 --- a/sys-apps/man/files/makewhatis.cron +++ b/sys-apps/man/files/makewhatis.cron @@ -2,4 +2,4 @@ # this is part of the man package # it updates the search database for manpages -exec /bin/nice /usr/sbin/makewhatis -u +exec nice makewhatis -u diff --git a/sys-apps/man/files/man-1.6e-dont-kill-shebangs.patch b/sys-apps/man/files/man-1.6e-dont-kill-shebangs.patch new file mode 100644 index 000000000000..dbbc243b5631 --- /dev/null +++ b/sys-apps/man/files/man-1.6e-dont-kill-shebangs.patch @@ -0,0 +1,25 @@ +http://bugs.gentoo.org/159192 + +--- configure ++++ configure +@@ -1250,6 +1250,7 @@ + allargs='$@' + infiles='$infiles' + infile='$infile' ++shebang='`sed -n -e 1p $infile.in`' + cb='$cb' + cs='$cs' + ce='$ce' +@@ -1273,7 +1274,11 @@ + *.1|*.5|*.8|*.man) + cb=$mancomment; cs=$mancomment; ce=$mancomment;; + *) +- cb="#"; cs="#"; ce="#";; ++ case "$shebang" in ++ '#!'*) cb="$shebang";; ++ *) cb="#";; ++ esac ++ cs="#"; ce="#";; + esac + echo "$cb" > $infile + echo "$cs Generated automatically from $infile.in by the" >> $infile diff --git a/sys-apps/man/files/man-1.6e-headers.patch b/sys-apps/man/files/man-1.6e-headers.patch new file mode 100644 index 000000000000..9c6fd6f43516 --- /dev/null +++ b/sys-apps/man/files/man-1.6e-headers.patch @@ -0,0 +1,13 @@ +--- gencat/genlib.c ++++ gencat/genlib.c +@@ -49,10 +49,8 @@ + + #include <stdio.h> + #include <stdlib.h> +-#ifdef SYSV + #include <sys/types.h> + #include <unistd.h> +-#endif + + #if !defined(__linux__) && !defined(__FreeBSD__) + #include <memory.h> |