From 35338f9e73b8ddbf63c2c2c75639ae142bf0c686 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ulrich=20M=C3=BCller?= Date: Fri, 18 Oct 2019 23:12:17 +0200 Subject: [PATCH] sci-mathematics/maxima: Declare encoding of imaxima texinfo file. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/697494 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: Ulrich Müller --- sci-mathematics/maxima/files/texinfo-0.patch | 12 ++++++++++++ sci-mathematics/maxima/maxima-5.43.0.ebuild | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 sci-mathematics/maxima/files/texinfo-0.patch diff --git a/sci-mathematics/maxima/files/texinfo-0.patch b/sci-mathematics/maxima/files/texinfo-0.patch new file mode 100644 index 000000000000..9b8782dffce6 --- /dev/null +++ b/sci-mathematics/maxima/files/texinfo-0.patch @@ -0,0 +1,12 @@ +Fix build with texinfo-6.7. +https://bugs.gentoo.org/697494 + +--- maxima-5.43.0.orig/interfaces/emacs/imaxima/imaxima.texi ++++ maxima-5.43.0/interfaces/emacs/imaxima/imaxima.texi +@@ -1,5 +1,6 @@ + \input texinfo @c -*-texinfo-*- + @c %**start of header ++@documentencoding ISO-8859-1 + @setfilename imaxima.info + @settitle Imaxima Manual + @paragraphindent 0 diff --git a/sci-mathematics/maxima/maxima-5.43.0.ebuild b/sci-mathematics/maxima/maxima-5.43.0.ebuild index c537cea53d2c..3d2e01212877 100644 --- a/sci-mathematics/maxima/maxima-5.43.0.ebuild +++ b/sci-mathematics/maxima/maxima-5.43.0.ebuild @@ -96,7 +96,7 @@ pkg_setup() { src_prepare() { local n PATCHES v - PATCHES=( emacs-0 rmaxima-0 wish-2 xdg-utils-1 ) + PATCHES=( emacs-0 rmaxima-0 wish-2 xdg-utils-1 texinfo-0 ) n=${#PATCHES[*]} for ((n--; n >= 0; n--)); do -- 2.26.2