[packages/llvm] - added lld-sphinx2 patch (adjust lld docs to be compatible with Sphinx 2+)
qboosh
qboosh at pld-linux.org
Sat Apr 11 21:05:49 CEST 2020
commit 077d13b974f9b0633deecb0993e3c4b8cef99ebe
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Apr 11 21:05:20 2020 +0200
- added lld-sphinx2 patch (adjust lld docs to be compatible with Sphinx 2+)
lld-sphinx2.patch | 11 +++++++++++
llvm.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/llvm.spec b/llvm.spec
index a5964ad..ec98b7e 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -56,6 +56,7 @@ Patch2: %{name}-python-modules.patch
Patch3: x32-gcc-toolchain.patch
Patch4: cmake-buildtype.patch
Patch5: %{name}-ocaml-shared.patch
+Patch6: lld-sphinx2.patch
URL: http://llvm.org/
BuildRequires: bash
BuildRequires: bison
@@ -552,6 +553,7 @@ Integracja narzędzi Clang do formatowania i zmiany nazw z Vimem.
%patch3 -p1
%patch4 -p1
%patch5 -p1
+%patch6 -p1
grep -rl /usr/bin/env projects tools utils | xargs sed -i -e '1{
s,^#!.*bin/env python,#!%{__python},
diff --git a/lld-sphinx2.patch b/lld-sphinx2.patch
new file mode 100644
index 0000000..24de5af
--- /dev/null
+++ b/lld-sphinx2.patch
@@ -0,0 +1,11 @@
+--- llvm-10.0.0.src/tools/lld/docs/conf.py.orig 2020-04-11 21:02:50.200235591 +0200
++++ llvm-10.0.0.src/tools/lld/docs/conf.py 2020-04-11 21:02:56.470201624 +0200
+@@ -134,7 +134,7 @@
+ #html_use_smartypants = True
+
+ # Custom sidebar templates, maps document names to template names.
+-html_sidebars = {'index': 'indexsidebar.html'}
++html_sidebars = {'index': ['indexsidebar.html']}
+
+ # Additional templates that should be rendered to pages, maps page names to
+ # template names.
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/llvm.git/commitdiff/077d13b974f9b0633deecb0993e3c4b8cef99ebe
More information about the pld-cvs-commit
mailing list