media-libs/allegro: Patch around 4.4.3.1 texinfo encoding issue
authorJames Le Cuirot <chewi@gentoo.org>
Sat, 22 Feb 2020 23:23:10 +0000 (23:23 +0000)
committerJames Le Cuirot <chewi@gentoo.org>
Sat, 22 Feb 2020 23:31:39 +0000 (23:31 +0000)
Thanks to Red Hat for the patch.

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
media-libs/allegro/allegro-4.4.3.1.ebuild
media-libs/allegro/files/allegro-4.4.3.1-texinfo-encoding.patch [new file with mode: 0644]

index a00cbb33c6a94ae032312007912c4c870bbffbd6..1f5e195f80261e8a32e8bc273e01c6183cbaa5cc 100644 (file)
@@ -44,6 +44,7 @@ PATCHES=(
        "${FILESDIR}"/${PN}-4.4.2-underlink.patch
        "${FILESDIR}"/${PN}-4.4.2-gentoo.patch
        "${FILESDIR}"/${PN}-4.4.2-rpath.patch
+       "${FILESDIR}"/${PN}-4.4.3.1-texinfo-encoding.patch
 )
 
 src_prepare() {
diff --git a/media-libs/allegro/files/allegro-4.4.3.1-texinfo-encoding.patch b/media-libs/allegro/files/allegro-4.4.3.1-texinfo-encoding.patch
new file mode 100644 (file)
index 0000000..1b6b52f
--- /dev/null
@@ -0,0 +1,19 @@
+From 7694155b74a4be1dedc9d13db6d9d2264d05f107 Mon Sep 17 00:00:00 2001
+From: Vitezslav Crhonek <vcrhonek@redhat.com>
+Date: Mon, 4 Nov 2019 12:07:16 +0100
+Subject: [PATCH] Fix FTBFS
+
+@documentencoding needed when generating documentation from
+non UTF-8 encoding source with texinfo-6.7 (rhbz#1767827)
+
+diff -up allegro-4.4.3/docs/src/allegro._tx.orig allegro-4.4.3/docs/src/allegro._tx
+--- allegro-4.4.3/docs/src/allegro._tx.orig    2019-02-02 20:28:46.000000000 +0100
++++ allegro-4.4.3/docs/src/allegro._tx 2019-11-04 11:12:39.352699777 +0100
+@@ -23,6 +23,7 @@
+ @man_shortdesc_force1=allegro
+ @man_shortdesc_force2=Allegro game programming library.
+ @$\input texinfo
++@$@documentencoding ISO-8859-1
+ @$@setfilename allegro.inf
+ @$@settitle Allegro Manual
+ @$@setchapternewpage odd