]> git.pld-linux.org Git - packages/llvm.git/commitdiff
- added lld-sphinx2 patch (adjust lld docs to be compatible with Sphinx 2+)
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 11 Apr 2020 19:05:20 +0000 (21:05 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 11 Apr 2020 19:05:31 +0000 (21:05 +0200)
lld-sphinx2.patch [new file with mode: 0644]
llvm.spec

diff --git a/lld-sphinx2.patch b/lld-sphinx2.patch
new file mode 100644 (file)
index 0000000..24de5af
--- /dev/null
@@ -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.
index a5964adfb67d14dea411c2c27b2b51f1eb88c178..ec98b7e855f4af9b4bfeb2e8c02855a5674990da 100644 (file)
--- 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},
This page took 0.044869 seconds and 4 git commands to generate.