summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-07-09 13:59:34 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-07-09 14:01:05 +0300
commit4bdca55caae1c1784cb4378e69446e9100a9e0d3 (patch)
tree1d476bc18c3172ea400419f93576b1bc15f6c03a /dev-libs/liblognorm
parentmedia-gfx/fdm-materials: update maintainers (diff)
downloadgentoo-4bdca55caae1c1784cb4378e69446e9100a9e0d3.tar.gz
gentoo-4bdca55caae1c1784cb4378e69446e9100a9e0d3.tar.bz2
gentoo-4bdca55caae1c1784cb4378e69446e9100a9e0d3.zip
dev-libs/liblognorm: fix doc compilation with sphinx 5
Closes: https://bugs.gentoo.org/848963 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-libs/liblognorm')
-rw-r--r--dev-libs/liblognorm/files/liblognorm-2.0.6-sphinx-5.patch11
-rw-r--r--dev-libs/liblognorm/liblognorm-2.0.6.ebuild6
2 files changed, 16 insertions, 1 deletions
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