summaryrefslogtreecommitdiff
path: root/graphics/ayam/files/patch-objects_npatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ayam/files/patch-objects_npatch.c')
-rw-r--r--graphics/ayam/files/patch-objects_npatch.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/ayam/files/patch-objects_npatch.c b/graphics/ayam/files/patch-objects_npatch.c
new file mode 100644
index 000000000000..7738904aaa5f
--- /dev/null
+++ b/graphics/ayam/files/patch-objects_npatch.c
@@ -0,0 +1,20 @@
+--- objects/npatch.c.orig 2007-12-17 18:39:37.000000000 +0100
++++ objects/npatch.c 2007-12-17 18:40:02.000000000 +0100
+@@ -1260,7 +1260,7 @@
+ ay_error(AY_EOUTPUT, fname, "Checking new knots for U...");
+ Tcl_SplitList(interp, Tcl_GetVar2(interp, n1, "Knots_U",
+ TCL_LEAVE_ERR_MSG | TCL_GLOBAL_ONLY),
+- &knotc, &knotv);
++ &knotc, (const char ***)&knotv);
+
+ if(!(nknotv = calloc(knotc, sizeof(double))))
+ {
+@@ -1324,7 +1324,7 @@
+ ay_error(AY_EOUTPUT, fname, "Checking new knots for V...");
+ Tcl_SplitList(interp,Tcl_GetVar2(interp, n1, "Knots_V",
+ TCL_LEAVE_ERR_MSG | TCL_GLOBAL_ONLY),
+- &knotc, &knotv);
++ &knotc, (const char ***)&knotv);
+
+ if(!(nknotv = calloc(knotc, sizeof(double))))
+ {