commit:     ad291e6a1efcf12fefaedfb7fe798eaa5248c081
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 22 23:23:10 2020 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Feb 22 23:31:39 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad291e6a

media-libs/allegro: Patch around 4.4.3.1 texinfo encoding issue

Thanks to Red Hat for the patch.

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 media-libs/allegro/allegro-4.4.3.1.ebuild             |  1 +
 .../files/allegro-4.4.3.1-texinfo-encoding.patch      | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/media-libs/allegro/allegro-4.4.3.1.ebuild 
b/media-libs/allegro/allegro-4.4.3.1.ebuild
index a00cbb33c6a..1f5e195f802 100644
--- a/media-libs/allegro/allegro-4.4.3.1.ebuild
+++ b/media-libs/allegro/allegro-4.4.3.1.ebuild
@@ -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
index 00000000000..1b6b52f7383
--- /dev/null
+++ b/media-libs/allegro/files/allegro-4.4.3.1-texinfo-encoding.patch
@@ -0,0 +1,19 @@
+From 7694155b74a4be1dedc9d13db6d9d2264d05f107 Mon Sep 17 00:00:00 2001
+From: Vitezslav Crhonek <[email protected]>
+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

Reply via email to