summaryrefslogtreecommitdiff
path: root/misc/nxtvepg/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'misc/nxtvepg/patches/patch-af')
-rw-r--r--misc/nxtvepg/patches/patch-af13
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/nxtvepg/patches/patch-af b/misc/nxtvepg/patches/patch-af
new file mode 100644
index 00000000000..b15c832fbf6
--- /dev/null
+++ b/misc/nxtvepg/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.4 2003/01/05 22:44:45 magick Exp $
+
+--- epgvbi/btdrv4linux.c.orig Mon Nov 25 20:30:52 2002
++++ epgvbi/btdrv4linux.c
+@@ -213,7 +213,7 @@
+ if (ioctl(fd,METEORSINPUT,&input_id)==0) {
+ pVbiBuf->tv_cards[i].inputs[j].inputID=input_id;
+ pVbiBuf->tv_cards[i].inputs[j].isTuner=(input_id==METEOR_DEV1);
+- strncpy((char*)pVbiBuf->tv_cards[i].inputs[j].name,input_name, DEV_MAX_NAME_LEN);
++ strncpy((char*)pVbiBuf->tv_cards[i].inputs[j].name,input_name, 20);
+ pVbiBuf->tv_cards[i].inputs[j].isAvailable=1;
+ }
+ else