diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-21 17:50:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-21 17:50:24 +0100 |
commit | feb0daf81d888e9160f9f94502de09b66f2a63fd (patch) | |
tree | b6e5c40ce2abef3da27ed50a023153f475e0ddef /app-doc/pms/files/pms-7-Makefile.patch | |
parent | 9452a6e87b6c2c70513bc47a2470bf9f1168920e (diff) |
gentoo resync : 21.06.2020
Diffstat (limited to 'app-doc/pms/files/pms-7-Makefile.patch')
-rw-r--r-- | app-doc/pms/files/pms-7-Makefile.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app-doc/pms/files/pms-7-Makefile.patch b/app-doc/pms/files/pms-7-Makefile.patch new file mode 100644 index 000000000000..d96abd421f0b --- /dev/null +++ b/app-doc/pms/files/pms-7-Makefile.patch @@ -0,0 +1,12 @@ +--- a/Makefile ++++ b/Makefile +@@ -52,9 +52,6 @@ + recode -d l1..h3 $@ + @# declare encoding as utf-8, although it is pure ascii + LC_ALL=C sed -i -e '/<?xml\|<meta/s/iso-8859-1/utf-8/' $@ +- @# work around irregularity in how links to longtables are +- @# formatted in the List of Tables +- LC_ALL=C sed -i -e '/<span class="lotToc" > /{N;N;s/\( <a \nhref="[^"]\+">\)\([0-9A-Z.]\+\)[ \n]\+/\2\1/}' $@ + @# remove redundant span elements + LC_ALL=C sed -i -e ':x;/<span\(\s\+[^>]*\)\?$$/{N;bx;};:y;s/\(<span\s\+[^>]*>\)\([^<]*\)<\/span>\1/\1\2/;ty' $@ + |