diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-01-27 02:30:22 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-01-27 02:30:22 +0000 |
commit | 7da29d3425509076fd1a4bae97a8e8c9349121a0 (patch) | |
tree | 7c37679d678b05caab355be2a6289cd09adb879b /sys-apps/man/files | |
parent | revert dynamic linking for prefix, fixed in nspr (diff) | |
download | historical-7da29d3425509076fd1a4bae97a8e8c9349121a0.tar.gz historical-7da29d3425509076fd1a4bae97a8e8c9349121a0.tar.bz2 historical-7da29d3425509076fd1a4bae97a8e8c9349121a0.zip |
old
Diffstat (limited to 'sys-apps/man/files')
-rw-r--r-- | sys-apps/man/files/man-1.5m-groff-1.18.patch | 31 | ||||
-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-man2html-bzip2.patch | 53 | ||||
-rw-r--r-- | sys-apps/man/files/man-1.6e-readonly-whatis2.patch | 47 |
4 files changed, 0 insertions, 156 deletions
diff --git a/sys-apps/man/files/man-1.5m-groff-1.18.patch b/sys-apps/man/files/man-1.5m-groff-1.18.patch deleted file mode 100644 index 08dff37503bf..000000000000 --- a/sys-apps/man/files/man-1.5m-groff-1.18.patch +++ /dev/null @@ -1,31 +0,0 @@ -With newer versions of groff (1.18+), we need to use -c -so as to filter color output. - -Also, change the -Tlatin1 to -Tascii to get rid of '<B7>' -gremlins and output the normal bullets 'o'. -http://bugs.gentoo.org/show_bug.cgi?id=44201 - ---- man-1.5k/configure.orig 2002-12-26 06:23:53.000000000 +0200 -+++ man-1.5k/configure 2002-12-26 06:25:14.000000000 +0200 -@@ -473,9 +473,9 @@ - then - if test $Fnroff = "missing" - then -- nroff="nroff -Tlatin1 -mandoc" -+ nroff="nroff -Tascii -c -mandoc" - else -- nroff="$Fnroff -Tlatin1 -mandoc" -+ nroff="$Fnroff -Tascii -c -mandoc" - fi - troff="troff -mandoc" - echo "Warning: could not find groff" -@@ -484,7 +484,7 @@ - then - nroff="$Fgroff -Tlatin1 -mandoc" - else -- nroff="$Fnroff -Tlatin1 -mandoc" -+ nroff="$Fnroff -Tascii -c -mandoc" - fi - troff="$Fgroff -Tps -mandoc" - jnroff="$Fgroff -Tnippon -mandocj" - 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 deleted file mode 100644 index dbbc243b5631..000000000000 --- a/sys-apps/man/files/man-1.6e-dont-kill-shebangs.patch +++ /dev/null @@ -1,25 +0,0 @@ -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-man2html-bzip2.patch b/sys-apps/man/files/man-1.6e-man2html-bzip2.patch deleted file mode 100644 index 091d4bdecc80..000000000000 --- a/sys-apps/man/files/man-1.6e-man2html-bzip2.patch +++ /dev/null @@ -1,53 +0,0 @@ -add support for bzip2 compression to man2html and friends - ---- man2html/glimpse_filters -+++ man2html/glimpse_filters -@@ -1,3 +1,4 @@ -+*.bz2 bzip2 -d -c - *.gz gzip -d -c - *.Z gzip -d -c - ---- man2html/scripts/cgi-bin/man/man2html -+++ man2html/scripts/cgi-bin/man/man2html -@@ -87,6 +87,9 @@ - if [ -r "$PAGE" ] - then - case "$PAGE" in -+ *.bz2) -+ bzcat "$PAGE" | "$MAN2HTML" "$LL" -D "$PAGE" -+ ;; - *.gz) - zcat "$PAGE" | "$MAN2HTML" "$LL" -D "$PAGE" - ;; -@@ -94,6 +97,9 @@ - "$MAN2HTML" "$LL" "$PAGE" - ;; - esac -+elif [ -r "$PAGE".bz2 ] -+then -+ bzcat "$PAGE".bz2 | "$MAN2HTML" "$LL" -D "$PAGE" - elif [ -r "$PAGE".gz ] - then - zcat "$PAGE".gz | "$MAN2HTML" "$LL" -D "$PAGE" ---- man2html/scripts/cgi-bin/man/mansearch -+++ man2html/scripts/cgi-bin/man/mansearch -@@ -153,7 +153,7 @@ - } - print "<DT> <a href=\"" cgipath "/man2html?" fullname "\">"; - textname = filename; -- sub(/\.(gz)|Z|z$/, "", textname); -+ sub(/\.(gz)|(bz2)|Z|z$/, "", textname); - sub(/\./, "(", textname); - textname = textname ")"; - print textname; ---- man2html/scripts/cgi-bin/man/mansec -+++ man2html/scripts/cgi-bin/man/mansec -@@ -128,7 +128,7 @@ - # Print out alphabetic quick index and other links - } - # Split page.n into "page" and "n" and generate an entry -- sub(/[.]([zZ]|(gz))$/, "", manpage); -+ sub(/[.]([zZ]|(gz)|(bz2))$/, "", manpage); - match(manpage, /[.][^.]+$/); - title = substr(manpage, 1, RSTART - 1); - if (section != "all") { diff --git a/sys-apps/man/files/man-1.6e-readonly-whatis2.patch b/sys-apps/man/files/man-1.6e-readonly-whatis2.patch deleted file mode 100644 index 92e37d0df159..000000000000 --- a/sys-apps/man/files/man-1.6e-readonly-whatis2.patch +++ /dev/null @@ -1,47 +0,0 @@ -Dont update makewhatis files if they're on readonly filesystems - -http://bugs.gentoo.org/163932 - ---- src/makewhatis.sh -+++ src/makewhatis.sh -@@ -184,6 +188,25 @@ - if [ x$verbose != x ]; then - echo "about to enter $mandir" > /dev/stderr - fi -+ -+ # kludge for Slackware's /usr/man/preformat -+ if [ $mandir = /usr/man/preformat ] -+ then -+ mandir1=/usr/man -+ else -+ mandir1=$mandir -+ fi -+ -+ # if $mandir is on a readonly partition and we cannot update the whatis -+ # file, then let's simply skip it -+ if ! touch ${mandir1}/whatis 2> /dev/null -+ then -+ if [ x$verbose != x ]; then -+ echo skipping $mandir - whatis file is readonly > /dev/stderr -+ fi -+ continue -+ fi -+ - if [ -s ${mandir}/whatis -a $pages = man -a x$update = x ]; then - if [ x$verbose != x ]; then - echo skipping $mandir - we did it already > /dev/stderr -@@ -407,14 +430,6 @@ - - cd $here - -- # kludge for Slackware's /usr/man/preformat -- if [ $mandir = /usr/man/preformat ] -- then -- mandir1=/usr/man -- else -- mandir1=$mandir -- fi -- - if [ -f ${mandir1}/whatis ] - then - cat ${mandir1}/whatis >> $TMPFILE |