pkgsrc/graphics/cqcam/patches/patch-af
minskim 75c80456d1 Switch to Tcl/Tk-8.4.
Bump PKGREVISION due to dependency changes.
2005-01-22 03:04:31 +00:00

30 lines
717 B
Text

$NetBSD: patch-af,v 1.2 2005/01/22 03:04:31 minskim Exp $
--- xqcctl-tk.C.orig 1997-10-26 20:31:30.000000000 -0600
+++ xqcctl-tk.C
@@ -6,6 +6,7 @@
#include <stdlib.h>
#include <signal.h>
+#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
@@ -148,7 +149,7 @@ void xqc_quit(void) {
}
int SetCamValCmd(ClientData clientdata, Tcl_Interp *interp,
- int argc, char *argv[])
+ int argc, const char *argv[])
{
char type;
long value = atoi(argv[2]);
@@ -163,7 +164,7 @@ int SetCamValCmd(ClientData clientdata,
}
int CamButtonCmd(ClientData clientdata, Tcl_Interp *interp,
- int argc, char *argv[])
+ int argc, const char *argv[])
{
char type;
long value = 0;