Package: uvccapture / 0.5-5

Metadata

Package Version Patches format
uvccapture 0.5-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 video device include.patch | (download)

uvccapture.c | 2 1 + 1 - 0 !
v4l2uvc.c | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 video device include

Fix build failure by using linux/videodev2.h instead of deprecated linux/videodev.h

0002 allocated buffer count.patch | (download)

v4l2uvc.c | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 allocated buffer count

Use returned number of buffers instead of requested.

VIDIOC_REQBUFS stores the number of actually allocated buffers.
This patch uses this value instead of assuming it is equal to the requested number.
Debian-Bug: https://bugs.debian.org/726802

0003 pass flags.patch | (download)

Makefile | 12 9 + 3 - 0 !
1 file changed, 9 insertions(+), 3 deletions(-)

 pass flags

This patch passes build flags through the Makefile to the compiler.
It does this using Debian package build tools, so in its current form it cannot be used upstream.

Debian-Bug: https://bugs.debian.org/726804

0004 make install mkdir.patch | (download)

Makefile | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 make install mkdir

create installation directory if necessary

0005 compiler warnings.patch | (download)

Makefile | 2 2 + 0 - 0 !
v4l2uvc.c | 12 3 + 9 - 0 !
v4l2uvc.h | 8 0 + 8 - 0 !
3 files changed, 5 insertions(+), 17 deletions(-)

 compiler warnings

Remove build warnings.

This patch fixes several warnings during the build: redefined symbols (which
weren't referenced) and unused variables.
Debian-Bug: https://bugs.debian.org/726804