--- /dev/null
+--- 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.
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
%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},