diff --git a/allegro-4.4.3-texinfo-non-utf8-input-fix.patch b/allegro-4.4.3-texinfo-non-utf8-input-fix.patch new file mode 100644 index 0000000..30d8f27 --- /dev/null +++ b/allegro-4.4.3-texinfo-non-utf8-input-fix.patch @@ -0,0 +1,11 @@ +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 diff --git a/allegro.spec b/allegro.spec index 39e9b0a..890455e 100644 --- a/allegro.spec +++ b/allegro.spec @@ -25,6 +25,10 @@ Patch10: allegro-4.4.2-keybgrab-fix.patch Patch11: allegro-4.4.2-compat-fix-aliases.patch # 4.4.3 accidentally broke the tools, fix them (rhbz1682921) Patch12: allegro-4.4.3-datafile-double-free.patch +# https://bugzilla.redhat.com/show_bug.cgi?id=1767827 +# starting texinfo-6.7 the default encoding is UTF-8 and because allegro's +# source .texi file is encoded in ISO-8859-1, additional command is needed +Patch13: allegro-4.4.3-texinfo-non-utf8-input-fix.patch BuildRequires: gcc BuildRequires: gcc-c++ @@ -219,7 +223,7 @@ developing applications that use logg. %prep -%autosetup -p1 +%autosetup -p 1 %build mkdir -p build && pushd build @@ -287,6 +291,10 @@ install -pm 644 addons/jpgalleg/license.txt addons/jpgalleg/readme.txt \ %{_pkgdocdir}/ %exclude %{_pkgdocdir}/dat*.txt %exclude %{_pkgdocdir}/grabber.txt +%exclude %{_pkgdocdir}/allegrogl +%exclude %{_pkgdocdir}/jpgalleg +%exclude %{_pkgdocdir}/loadpng +%exclude %{_pkgdocdir}/loadpng %license %{_pkgdocdir}/license.txt %config(noreplace) %{_sysconfdir}/allegrorc %{_libdir}/liballeg.so.4* @@ -367,11 +375,12 @@ install -pm 644 addons/jpgalleg/license.txt addons/jpgalleg/readme.txt \ %changelog -* Thu Oct 31 2019 Antonio Trande - 4.4.3.1-1 +* Tue Nov 05 2019 Antonio Trande - 4.4.3.1-1 - Release 4.4.3.1 - Use %%_pkgdocdir - Use CMake3 on epel - Use dedicated CMake 'build' directory +- Patched for texinfo-6.7 (rhbz#1767827) * Wed Jul 24 2019 Fedora Release Engineering - 4.4.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild