sci-mathematics/maxima: Declare encoding of imaxima texinfo file.
authorUlrich Müller <ulm@gentoo.org>
Fri, 18 Oct 2019 21:12:17 +0000 (23:12 +0200)
committerUlrich Müller <ulm@gentoo.org>
Fri, 18 Oct 2019 21:12:41 +0000 (23:12 +0200)
Closes: https://bugs.gentoo.org/697494
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
sci-mathematics/maxima/files/texinfo-0.patch [new file with mode: 0644]
sci-mathematics/maxima/maxima-5.43.0.ebuild

diff --git a/sci-mathematics/maxima/files/texinfo-0.patch b/sci-mathematics/maxima/files/texinfo-0.patch
new file mode 100644 (file)
index 0000000..9b8782d
--- /dev/null
@@ -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
index c537cea53d2c0c27df6bdff44a584a7a4e3cdc2d..3d2e0121287792b48ea405f691378ffc3c33e4c8 100644 (file)
@@ -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