fix the last 4 ioctl sign-extension's

bump PORTREVISION
This commit is contained in:
Oliver Lehmann 2005-05-24 09:34:39 +00:00
parent bec8e14859
commit c916d440e4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136018
2 changed files with 15 additions and 6 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= xawtv
PORTVERSION= 3.94
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://dl.bytesex.org/releases/xawtv/

View File

@ -1,5 +1,5 @@
--- libng/plugins/drv0-bsd.c.orig Wed Mar 12 17:45:56 2003
+++ libng/plugins/drv0-bsd.c Tue May 24 00:57:02 2005
+++ libng/plugins/drv0-bsd.c Tue May 24 11:32:55 2005
@@ -23,10 +23,12 @@
#ifdef HAVE_DEV_IC_BT8XX_H
@ -60,13 +60,22 @@
break;
}
fprintf(stderr,": %s\n",(rc == 0) ? "ok" : strerror(errno));
@@ -474,7 +476,7 @@
/* ---------------------------------------------------------------------- */
static int
-bsd_get_range(int id, int *get, int *set)
+bsd_get_range(int id, int *get, long *set)
{
switch (id) {
case ATTR_ID_HUE:
@@ -502,19 +504,20 @@
static int bsd_read_attr(struct ng_attribute *attr)
{
struct bsd_handle *h = attr->handle;
- int arg, get, set, i;
+ int get, set, i;
+ long arg;
+ int get, i;
+ long arg, set;
int value = -1;
switch (attr->id) {
@ -98,8 +107,8 @@
{
struct bsd_handle *h = attr->handle;
- int arg, get, set;
+ int get, set;
+ long arg;
+ int get;
+ long arg, set;
switch (attr->id) {
case ATTR_ID_NORM: