diff options
author | jbeich <jbeich@FreeBSD.org> | 2016-06-17 16:00:22 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2016-06-17 16:00:22 +0800 |
commit | c4218e5691f175c01979a6b6e00d384fcd5c364f (patch) | |
tree | 22f451f3b790081713588ed7aea2a066fe540d88 | |
parent | 91c8b5735657e888c57362a0f2e80b8080777d05 (diff) | |
download | freebsd-ports-gnome-c4218e5691f175c01979a6b6e00d384fcd5c364f.tar.gz freebsd-ports-gnome-c4218e5691f175c01979a6b6e00d384fcd5c364f.tar.zst freebsd-ports-gnome-c4218e5691f175c01979a6b6e00d384fcd5c364f.zip |
math/blitz++: unbreak build on 11.0 and dragonfly
./arrays-expr.texi:718: unknown command `erf'
PR: 199527
Reported by: pkg-fallout
Approved by: maintainer timeout (1 year)
-rw-r--r-- | math/blitz++/files/patch-doc-arrays-expr.texi | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/math/blitz++/files/patch-doc-arrays-expr.texi b/math/blitz++/files/patch-doc-arrays-expr.texi new file mode 100644 index 000000000000..95f4f9f3107c --- /dev/null +++ b/math/blitz++/files/patch-doc-arrays-expr.texi @@ -0,0 +1,16 @@ +--- doc/arrays-expr.texi.orig 2003-01-21 11:01:03 UTC ++++ doc/arrays-expr.texi +@@ -714,13 +714,8 @@ Computes the error function: + @tex + $$ {\rm erf}(x) = {2\over\sqrt\pi}\int_{0}^{x} e^{-t^2} dt $$ + @end tex +-@html +-@erf(x) = 2/sqrt(Pi) * integral(exp(-t^2), t=0..x) +-@end html + @ifnottex +-@ifnothtml + @math{@r{erf}(x) = 2/@r{sqrt}(Pi) * @r{integral}(@r{exp}(-t^2), t=0..x)} +-@end ifnothtml + @end ifnottex + + Note that for large values of the parameter, calculating can result in |