libllvm: Fix building under ubuntu 18.04
[termux-packages] / packages / libllvm / docs-Proposals-VectorizationPlan.rst.patch
diff --git a/packages/libllvm/docs-Proposals-VectorizationPlan.rst.patch b/packages/libllvm/docs-Proposals-VectorizationPlan.rst.patch
new file mode 100644 (file)
index 0000000..3338f8e
--- /dev/null
@@ -0,0 +1,14 @@
+Remove unreferenced footnotes which causes a build failure on ubuntu 18.04
+
+diff -u -r ../llvm-6.0.0.src/docs/Proposals/VectorizationPlan.rst ./docs/Proposals/VectorizationPlan.rst
+--- ../llvm-6.0.0.src/docs/Proposals/VectorizationPlan.rst     2017-11-20 13:01:47.000000000 +0100
++++ ./docs/Proposals/VectorizationPlan.rst     2018-04-30 00:30:45.270760735 +0200
+@@ -212,7 +212,7 @@
+    Polly [7]_.
+ 3. Loop Vectorizer: the Vectorization Plan aims to upgrade the infrastructure of
+-   the Loop Vectorizer and extend it to handle outer loops [8,9]_.
++   the Loop Vectorizer and extend it to handle outer loops [8]_, [9]_.
+ References
+ ----------