aboutsummaryrefslogtreecommitdiff
path: root/graphics/ayam/files/patch-plugins_mopsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ayam/files/patch-plugins_mopsi.c')
-rw-r--r--graphics/ayam/files/patch-plugins_mopsi.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/ayam/files/patch-plugins_mopsi.c b/graphics/ayam/files/patch-plugins_mopsi.c
new file mode 100644
index 000000000000..034458d774a4
--- /dev/null
+++ b/graphics/ayam/files/patch-plugins_mopsi.c
@@ -0,0 +1,13 @@
+--- plugins/mopsi.c.orig 2007-09-21 13:30:38.000000000 +0200
++++ plugins/mopsi.c 2007-12-17 19:50:09.000000000 +0100
+@@ -2130,8 +2130,8 @@
+ entry = Tcl_CreateHashEntry(&mopsiht, "ICurve", &new_item);
+ Tcl_SetHashValue(entry, &(mopsi_icurve));
+
+- Tcl_CreateCommand(interp, "importMops", mopsi_tcmd,
+- (ClientData) NULL, (Tcl_CmdDeleteProc *) NULL);
++ Tcl_CreateCommand(interp, "importMops", (Tcl_CmdProc *)mopsi_tcmd,
++ NULL, NULL);
+
+ /* source mopsi.tcl, it contains vital Tcl-code */
+ if((Tcl_EvalFile(interp, "mopsi.tcl")) != TCL_OK)