pkgsrc/graphics/cqcam/patches/patch-am
rillig fd0f980dbe Fixed the build problems on Solaris. The next problem is that the
program tries to install a kernel driver allowing unrestricted access to
all hardware ports. Unprivileged users cannot do that anyway.

XXX: Should we disallow the installation on Solaris at all because of this?
2007-01-17 02:25:45 +00:00

22 lines
688 B
Text

$NetBSD: patch-am,v 1.1 2007/01/17 02:25:45 rillig Exp $
--- xfe/xqcctl-tk.C.orig 2001-07-11 20:40:20.000000000 +0200
+++ xfe/xqcctl-tk.C 2007-01-17 03:15:04.671887928 +0100
@@ -164,7 +164,7 @@ void xqc_quit(void) {
}
int SetCamValCmd(ClientData clientdata, Tcl_Interp *interp,
- int argc, char *argv[])
+ int argc, const char *argv[])
{
char type = '\0';
long value = atoi(argv[2]);
@@ -179,7 +179,7 @@ int SetCamValCmd(ClientData clientdata,
}
int CamButtonCmd(ClientData clientdata, Tcl_Interp *interp,
- int argc, char *argv[])
+ int argc, const char *argv[])
{
char type = '\0';
long value = 0;