diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-04-21 19:23:18 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-04-21 19:26:34 +0200 |
commit | ee4d32392fd1c0b32eef9c0b6d72baaadfa0de08 (patch) | |
tree | 68f0c7bb03cecae36450c228407b010fed78631a /dev-libs/libbson/files | |
parent | net-misc/bridge-utils: fix hardcoded ar (diff) | |
download | gentoo-ee4d32392fd1c0b32eef9c0b6d72baaadfa0de08.tar.gz gentoo-ee4d32392fd1c0b32eef9c0b6d72baaadfa0de08.tar.bz2 gentoo-ee4d32392fd1c0b32eef9c0b6d72baaadfa0de08.zip |
dev-libs/libbson: fix building against >=sphinx-3
Closes: https://bugs.gentoo.org/716774
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-libs/libbson/files')
-rw-r--r-- | dev-libs/libbson/files/libbson-1.16.2-sphinx.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-libs/libbson/files/libbson-1.16.2-sphinx.patch b/dev-libs/libbson/files/libbson-1.16.2-sphinx.patch new file mode 100644 index 000000000000..7a165b61c59a --- /dev/null +++ b/dev-libs/libbson/files/libbson-1.16.2-sphinx.patch @@ -0,0 +1,19 @@ +https://bugs.gentoo.org/716774 + +--- a/build/sphinx/taglist.py ++++ b/build/sphinx/taglist.py +@@ -24,7 +24,12 @@ THE SOFTWARE. + """ + + from docutils import nodes, utils +-from sphinx.environment import NoUri ++ ++try: ++ from sphinx.environment import NoUri ++except ImportError: ++ from sphinx.errors import NoUri ++ + try: + from sphinx.util.compat import Directive + except ImportError: + |