commit: 4bdca55caae1c1784cb4378e69446e9100a9e0d3 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Sat Jul 9 10:59:34 2022 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Sat Jul 9 11:01:05 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bdca55c
dev-libs/liblognorm: fix doc compilation with sphinx 5 Closes: https://bugs.gentoo.org/848963 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> dev-libs/liblognorm/files/liblognorm-2.0.6-sphinx-5.patch | 11 +++++++++++ dev-libs/liblognorm/liblognorm-2.0.6.ebuild | 6 +++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/dev-libs/liblognorm/files/liblognorm-2.0.6-sphinx-5.patch b/dev-libs/liblognorm/files/liblognorm-2.0.6-sphinx-5.patch new file mode 100644 index 000000000000..fde24f8c0677 --- /dev/null +++ b/dev-libs/liblognorm/files/liblognorm-2.0.6-sphinx-5.patch @@ -0,0 +1,11 @@ +--- liblognorm.orig/doc/conf.py ++++ liblognorm/doc/conf.py +@@ -56,7 +56,7 @@ release = '1.1.2' + + # The language for content autogenerated by Sphinx. Refer to documentation + # for a list of supported languages. +-language = None ++language = 'en' + + # There are two options for replacing |today|: either, you set today to some + # non-false value, then it is used: diff --git a/dev-libs/liblognorm/liblognorm-2.0.6.ebuild b/dev-libs/liblognorm/liblognorm-2.0.6.ebuild index ad0b574934a3..87b21e4997c8 100644 --- a/dev-libs/liblognorm/liblognorm-2.0.6.ebuild +++ b/dev-libs/liblognorm/liblognorm-2.0.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -36,6 +36,10 @@ DEPEND=" DOCS=( ChangeLog ) +PATCHES=( + "${FILESDIR}/${P}-sphinx-5.patch" +) + src_prepare() { default
