summaryrefslogtreecommitdiffstats
path: root/source/ap/a2ps
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/a2ps')
-rwxr-xr-xsource/ap/a2ps/a2ps.SlackBuild1
-rw-r--r--source/ap/a2ps/a2ps.texinfo-6.7.patch40
2 files changed, 41 insertions, 0 deletions
diff --git a/source/ap/a2ps/a2ps.SlackBuild b/source/ap/a2ps/a2ps.SlackBuild
index 26a51c195..81102d08b 100755
--- a/source/ap/a2ps/a2ps.SlackBuild
+++ b/source/ap/a2ps/a2ps.SlackBuild
@@ -72,6 +72,7 @@ zcat $CWD/a2ps.diff.gz | patch -p1 --verbose || exit 1
zcat $CWD/a2ps.a2ps_cfg.in.diff.gz | patch -p1 --verbose || exit 1
zcat $CWD/a2ps-4.14-texinfo-nodes.patch.gz | patch -p1 --verbose || exit 1
zcat $CWD/a2ps-texi-comments.patch.gz | patch -p1 --verbose || exit 1
+zcat $CWD/a2ps.texinfo-6.7.patch.gz | patch -p1 --verbose || exit 1
# Make sure ownerships and permissions are sane:
chown -R root:root .
diff --git a/source/ap/a2ps/a2ps.texinfo-6.7.patch b/source/ap/a2ps/a2ps.texinfo-6.7.patch
new file mode 100644
index 000000000..df2a60f39
--- /dev/null
+++ b/source/ap/a2ps/a2ps.texinfo-6.7.patch
@@ -0,0 +1,40 @@
+https://bugs.gentoo.org/695918
+
+The patchs fixes build failure against texinfo-6.7+:
+```
+Malformed UTF-8 character: \xcb\xeb (unexpected non-continuation byte 0xeb, immediately after start byte 0xcb;
+need 2 bytes, got 1) in pattern match (m//) at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 3364.
+Malformed UTF-8 character (fatal) at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 3364.
+make[2]: *** [Makefile:472: a2ps.info] Error 25
+```
+
+Fixed-by: Neil Bothwick
+--- a/doc/a2ps.texi~ 2019-11-24 18:51:07.000000000 +0000
++++ a/doc/a2ps.texi 2019-11-24 18:56:30.390438433 +0000
+@@ -1,5 +1,6 @@
+ \input texinfo @c -*- texinfo -*-
+ @c %**start of header
++@documentencoding ISO-8859-1
+ @setfilename a2ps.info
+ @settitle General Purpose PostScript Generating Utility
+ @c @setchapternewpage odd
+
+--- a/doc/regex.texi~ 2002-03-04 18:46:24.000000000 +0000
++++ a/doc/regex.texi 2019-11-24 18:56:42.861052598 +0000
+@@ -1,5 +1,6 @@
+ \input texinfo
+ @c %**start of header
++@documentencoding ISO-8859-1
+ @setfilename regex.info
+ @settitle Regex
+ @c %**end of header
+
+--- a/ogonkify/doc/ogonkify.texi~ 2007-12-29 02:09:38.000000000 +0000
++++ a/ogonkify/doc/ogonkify.texi 2019-11-24 18:57:03.173424149 +0000
+@@ -1,5 +1,6 @@
+ \input texinfo @c -*-texinfo-*-
+ @c %**start of header
++@documentencoding ISO-8859-1
+ @setfilename ogonkify.info
+ @settitle Ogonkify
+ @setchapternewpage off