freebsd-ports/math/plplot/files/patch-doc__docbook__src__tcl.xml
Thierry Thomas 779c36f5c4 - Upgrade math/plplot to 5.11.0
Announcement at
  <https://sourceforge.net/p/plplot/plplot/ci/plplot-5.11.0/tree/README.release>

- Take maintainership

- Chase dependencies.

PR:		ports/199539
Submitted by:	Ben Woods <woodsb02 (at) gmail.com>
Approved by:	marino (for plplot-ada), /me (for gnudatalanguage)
2015-04-22 20:16:04 +00:00

20 lines
565 B
XML

--- doc/docbook/src/tcl.xml.orig 2015-04-12 10:08:04 UTC
+++ doc/docbook/src/tcl.xml
@@ -576,7 +576,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SU
if (pm->fdata[i] > max)
max = pm->fdata[i];
- sprintf( interp->result, "%f", max );
+ sprintf( Tcl_GetStringResult(interp), "%f", max );
return TCL_OK;
}
@@ -589,7 +589,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SU
if (pm->fdata[i] &lt; min)
min = pm->fdata[i];
- sprintf( interp->result, "%f", min );
+ sprintf( Tcl_GetStringResult(interp), "%f", min );
return TCL_OK;
}
</programlisting>