freebsd-ports/graphics/ayam/files/patch-plugins_ayslx.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

22 lines
632 B
C

--- plugins/ayslx.c.orig 2007-09-21 13:30:37.000000000 +0200
+++ plugins/ayslx.c 2007-12-17 19:50:54.000000000 +0100
@@ -17,7 +17,7 @@
#include <string.h>
#include "tcl.h"
#include "errcode.h"
-#include "slx.h"
+#include <slx.h>
/* prototypes: */
@@ -311,8 +311,8 @@
Tcl_SetVar(interp, vname, vval, TCL_LEAVE_ERR_MSG | TCL_GLOBAL_ONLY);
- Tcl_CreateCommand(interp, "shaderScan", ayslx_scanslxtcmd,
- (ClientData) NULL, (Tcl_CmdDeleteProc *) NULL);
+ Tcl_CreateCommand(interp, "shaderScan", (Tcl_CmdProc *)ayslx_scanslxtcmd,
+ NULL, NULL);
ay_error(AY_EOUTPUT, fname,
"Plug-In 'ayslx' loaded.");