summaryrefslogtreecommitdiff
path: root/multimedia/xawtv
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2005-05-24 09:34:39 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2005-05-24 09:34:39 +0000
commitc916d440e4fb430ad94feda3216c4068f7e0b665 (patch)
treeac333b657b531b7dd005359370c2a191083b2886 /multimedia/xawtv
parentYAML port has been updated and meet the requirement of SVK. Remove the (diff)
fix the last 4 ioctl sign-extension's
bump PORTREVISION
Notes
Notes: svn path=/head/; revision=136018
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 eb076f6122ca..3cd3c9ae4fa7 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 f183e317fddb..62801a53a196 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: