freebsd-ports/graphics/ayam/files/patch-objects_ncurve.c
Martin Wilke 229ea01b19 - Update to 1.13 (fix pointyhat build)
- Pass maintainership to submitter

PR:		118786
Submitted by:	Pietro Cerutti <gahr@gahr.ch>
2007-12-18 00:19:10 +00:00

11 lines
434 B
C

--- objects/ncurve.c.orig 2007-12-17 18:38:58.000000000 +0100
+++ objects/ncurve.c 2007-12-17 18:39:11.000000000 +0100
@@ -731,7 +731,7 @@
ay_error(AY_EOUTPUT, fname, "Checking new knots...");
Tcl_SplitList(interp,Tcl_GetVar2(interp, n1, "Knots",
TCL_LEAVE_ERR_MSG | TCL_GLOBAL_ONLY),
- &knotc, &knotv);
+ &knotc, (const char ***)&knotv);
if(!(nknotv = calloc(knotc, sizeof(double))))
{