From ad291e6a1efcf12fefaedfb7fe798eaa5248c081 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Sat, 22 Feb 2020 23:23:10 +0000 Subject: [PATCH] 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 --- media-libs/allegro/allegro-4.4.3.1.ebuild | 1 + .../allegro-4.4.3.1-texinfo-encoding.patch | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 media-libs/allegro/files/allegro-4.4.3.1-texinfo-encoding.patch diff --git a/media-libs/allegro/allegro-4.4.3.1.ebuild b/media-libs/allegro/allegro-4.4.3.1.ebuild index a00cbb33c6a9..1f5e195f8026 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 000000000000..1b6b52f7383d --- /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 +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 -- 2.26.2