summaryrefslogtreecommitdiff
path: root/sci-libs/ceres-solver/files/ceres-solver-2.0.0-system-mathjax.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/ceres-solver/files/ceres-solver-2.0.0-system-mathjax.patch')
-rw-r--r--sci-libs/ceres-solver/files/ceres-solver-2.0.0-system-mathjax.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/sci-libs/ceres-solver/files/ceres-solver-2.0.0-system-mathjax.patch b/sci-libs/ceres-solver/files/ceres-solver-2.0.0-system-mathjax.patch
new file mode 100644
index 000000000000..61e0f000f267
--- /dev/null
+++ b/sci-libs/ceres-solver/files/ceres-solver-2.0.0-system-mathjax.patch
@@ -0,0 +1,10 @@
+diff -urN a/docs/source/conf.py b/docs/source/conf.py
+--- a/docs/source/conf.py 2020-10-25 22:25:47.000000000 -0500
++++ b/docs/source/conf.py 2021-07-29 09:44:35.488893188 -0500
+@@ -252,3 +252,6 @@
+ 'scale' : 90
+ }
+ }
++
++# Use system MathJax
++mathjax_path = "/usr/share/mathjax/MathJax.js?config=TeX-MML-AM_CHTML"