1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/multimedia/pwcbsd/files/extra-patch-pwc-v4l.c
Lars Engels 3d642d5919 - Fix build on 7.x
- Mark BROKEN for older 8-CURRENT
- Bump PORTREVISION
2009-05-28 18:53:53 +00:00

12 lines
418 B
C

--- pwc-v4l.c.orig 2006-06-07 22:15:52.000000000 +0200
+++ pwc-v4l.c 2009-05-27 20:22:49.137318240 +0200
@@ -67,7 +67,7 @@
{
struct video_capability *caps = arg;
- strncpy(caps->name, pdev->name, sizeof(caps->name) - 1);
+ strncpy(caps->name, device_get_desc(pdev->sc_dev), sizeof(caps->name) - 1);
caps->name[sizeof(caps->name) - 1] = '\0';
caps->type = VID_TYPE_CAPTURE;
caps->channels = 1;