aboutsummaryrefslogtreecommitdiffstats
path: root/dist/vespa.spec
diff options
context:
space:
mode:
Diffstat (limited to 'dist/vespa.spec')
-rw-r--r--dist/vespa.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/dist/vespa.spec b/dist/vespa.spec
index 6c3f68f6f74..724cffcc7f1 100644
--- a/dist/vespa.spec
+++ b/dist/vespa.spec
@@ -549,6 +549,12 @@ nearest neighbor search used for low-level benchmarking.
%setup -c -D -T
%else
%setup -q
+%if ( 0%{?el8} || 0%{?fc34} ) && %{_vespa_llvm_version} < 13
+if grep -qs 'result_pair<R>(' /usr/include/llvm/ADT/STLExtras.h
+then
+ patch /usr/include/llvm/ADT/STLExtras.h < dist/STLExtras.h.diff
+fi
+%endif
echo '%{version}' > VERSION
case '%{version}' in
*.0)