aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/xawtv
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2005-05-24 17:34:39 +0800
committeroliver <oliver@FreeBSD.org>2005-05-24 17:34:39 +0800
commit4fb329fde16391a7e0b2da1379a5d5b580c1cd47 (patch)
tree871dd0d666a0c790b03af34229ea3d16465dcd9c /multimedia/xawtv
parent3c73f7b74d8c3d685ae86db25add088f3befa816 (diff)
downloadfreebsd-ports-graphics-4fb329fde16391a7e0b2da1379a5d5b580c1cd47.tar.gz
freebsd-ports-graphics-4fb329fde16391a7e0b2da1379a5d5b580c1cd47.tar.zst
freebsd-ports-graphics-4fb329fde16391a7e0b2da1379a5d5b580c1cd47.zip
fix the last 4 ioctl sign-extension's
bump PORTREVISION
Diffstat (limited to 'multimedia/xawtv')
-rw-r--r--multimedia/xawtv/Makefile2
-rw-r--r--multimedia/xawtv/files/patch-libng::plugins::drv0-bsd.c19
2 files changed, 15 insertions, 6 deletions
diff --git a/multimedia/xawtv/Makefile b/multimedia/xawtv/Makefile
index eb076f6122c..3cd3c9ae4fa 100644
--- a/multimedia/xawtv/Makefile
+++ b/multimedia/xawtv/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xawtv
PORTVERSION= 3.94
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://dl.bytesex.org/releases/xawtv/
diff --git a/multimedia/xawtv/files/patch-libng::plugins::drv0-bsd.c b/multimedia/xawtv/files/patch-libng::plugins::drv0-bsd.c
index f183e317fdd..62801a53a19 100644
--- a/multimedia/xawtv/files/patch-libng::plugins::drv0-bsd.c
+++ b/multimedia/xawtv/files/patch-libng::plugins::drv0-bsd.c
@@ -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: