summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/qemu-sphinx-compat.patch
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2021-06-17 19:17:17 +0200
committerMarius Bakke <marius@gnu.org>2021-06-19 17:09:51 +0200
commit2b2ecbace4cf404cc4541be16bdc04d2d9ba88c3 (patch)
treec16d58bff9730a4ab7a9da4349250469d414342e /gnu/packages/patches/qemu-sphinx-compat.patch
parent07d91d34d2d7a9b8f1d4ab5b3a0a1191b054d379 (diff)
downloadguix-patches-2b2ecbace4cf404cc4541be16bdc04d2d9ba88c3.tar
guix-patches-2b2ecbace4cf404cc4541be16bdc04d2d9ba88c3.tar.gz
gnu: QEMU: Adjust for Sphinx 4.0.
* gnu/packages/patches/qemu-sphinx-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/virtualization.scm (qemu)[source](patches): Add it.
Diffstat (limited to 'gnu/packages/patches/qemu-sphinx-compat.patch')
-rw-r--r--gnu/packages/patches/qemu-sphinx-compat.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/patches/qemu-sphinx-compat.patch b/gnu/packages/patches/qemu-sphinx-compat.patch
new file mode 100644
index 0000000000..7342ebee4e
--- /dev/null
+++ b/gnu/packages/patches/qemu-sphinx-compat.patch
@@ -0,0 +1,18 @@
+Prevent Sphinx 4 and later from creating subdirectories, which
+the build scripts are not equipped to deal with.
+
+Taken from upstream:
+https://gitlab.com/qemu-project/qemu/-/issues/256
+https://gitlab.com/qemu-project/qemu/-/commit/269a7e97865cb863c9ca19e5f2e6a40ac9eddf82
+
+diff --git a/docs/conf.py b/docs/conf.py
+--- a/docs/conf.py
++++ b/docs/conf.py
+@@ -279,6 +279,7 @@
+ ['Stefan Hajnoczi <stefanha@redhat.com>',
+ 'Masayoshi Mizuma <m.mizuma@jp.fujitsu.com>'], 1),
+ ]
++man_make_section_directory = False
+
+ # -- Options for Texinfo output -------------------------------------------
+