gentoo/sci-libs/ceres-solver/files/ceres-solver-2.0.0-system-mathjax.patch
Andrew Ammerlaan bcfb8cbaf2
sci-libs/ceres-solver: Bump to 2.0.0
* Based off of sci-libs/ceres-solver-1.14.0.
* Uses existing `USE=openmp` to set new CERES_THREADING_MODEL cmake
  variable.
* Fixes error where `Eigen3Config.cmake` is missing.
* Add `USE=system-mathjax` and associated patch to enable generated doc to
  use local MathJax to render embedded math.

Closes: https://bugs.gentoo.org/806409
Signed-off-by: Brian R McCarter <brian.r.mccarter.ctr@us.navy.mil>
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
2021-08-04 21:32:25 +02:00

11 lines
325 B
Diff

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"