openbsd-ports/mbone/vic/patches/patch-grabber-meteor_cc
naddy 9759e5be25 - Regen patches.
- Honor CC, CFLAGS.
- Make this compile with gcc3.
2002-10-06 22:28:49 +00:00

21 lines
677 B
Plaintext

$OpenBSD: patch-grabber-meteor_cc,v 1.1 2002/10/06 22:28:49 naddy Exp $
--- grabber-meteor.cc.orig Thu Jan 14 13:48:41 1999
+++ grabber-meteor.cc Sun Oct 6 23:05:29 2002
@@ -192,7 +192,7 @@ int MeteorDevice::command(int argc, cons
return (InputDevice::command(argc, argv));
}
-MeteorGrabber::MeteorGrabber(const char* name, const char* format)
+MeteorGrabber::MeteorGrabber(const char* name)
{
count = 0;
@@ -415,6 +415,7 @@ int MeteorGrabber::command(int argc, con
u_char val = atoi(argv[2]);
ioctl(dev_, METEORSCHCV, &val);
return (TCL_OK);
+ }
} else if (argc == 2) {
if (strcmp(argv[1], "format") == 0 ||
strcmp(argv[1], "type") == 0) {