summaryrefslogtreecommitdiff
path: root/app-emulation/qemu-guest-agent/files/qemu-8.1.0-find-sphinx.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-02 07:35:19 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-02 07:35:19 +0000
commit6e0baa42f9e9347389dbdcc349b5fe1990d1d6a4 (patch)
tree965366a0a45e5394f071b5903c92a49f9e469768 /app-emulation/qemu-guest-agent/files/qemu-8.1.0-find-sphinx.patch
parentc4febece2cd3ef082d2175dbeb5fb3b9c7437ceb (diff)
app-emulation/qemu-guest-agent : fix build
Diffstat (limited to 'app-emulation/qemu-guest-agent/files/qemu-8.1.0-find-sphinx.patch')
-rw-r--r--app-emulation/qemu-guest-agent/files/qemu-8.1.0-find-sphinx.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/app-emulation/qemu-guest-agent/files/qemu-8.1.0-find-sphinx.patch b/app-emulation/qemu-guest-agent/files/qemu-8.1.0-find-sphinx.patch
new file mode 100644
index 00000000..b6ef6214
--- /dev/null
+++ b/app-emulation/qemu-guest-agent/files/qemu-8.1.0-find-sphinx.patch
@@ -0,0 +1,10 @@
+This gets confused by python-any-r1 and tries to find sphinx-build in ${T}.
+--- a/docs/meson.build
++++ b/docs/meson.build
+@@ -1,5 +1,4 @@
+-sphinx_build = find_program(fs.parent(python.full_path()) / 'sphinx-build',
+- required: get_option('docs'))
++sphinx_build = find_program('sphinx-build', required: get_option('docs'))
+
+ # Check if tools are available to build documentation.
+ build_docs = false