diff options
author | Koop Mast <kwm@FreeBSD.org> | 2012-05-10 15:06:06 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2012-05-10 15:06:06 +0000 |
commit | 6ffff77c7b66bf789def3e7c24b8ace319648e7d (patch) | |
tree | 379536ce3116d1994a3cc5aa93660392c98edc01 /multimedia | |
parent | 1ac1f1a02232ccfdd575609119a92b693cae5a62 (diff) | |
download | ports-6ffff77c7b66bf789def3e7c24b8ace319648e7d.tar.gz ports-6ffff77c7b66bf789def3e7c24b8ace319648e7d.zip |
Notes
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/libv4l/Makefile | 5 | ||||
-rw-r--r-- | multimedia/libv4l/distinfo | 4 | ||||
-rw-r--r-- | multimedia/libv4l/files/patch-libv4lconvert_control_libv4lcontrol.c | 15 |
3 files changed, 19 insertions, 5 deletions
diff --git a/multimedia/libv4l/Makefile b/multimedia/libv4l/Makefile index d9a71841e1b8..b1dcd4b90ccf 100644 --- a/multimedia/libv4l/Makefile +++ b/multimedia/libv4l/Makefile @@ -6,8 +6,7 @@ # PORTNAME= libv4l -PORTVERSION= 0.8.4 -PORTREVISION= 1 +PORTVERSION= 0.8.8 CATEGORIES= multimedia MASTER_SITES= http://linuxtv.org/downloads/v4l-utils/ DISTNAME= v4l-utils-${PORTVERSION} @@ -15,7 +14,7 @@ DISTNAME= v4l-utils-${PORTVERSION} MAINTAINER= hselasky@FreeBSD.org COMMENT= Video4Linux library -BUILD_DEPENDS= v4l_compat>=1.0.20110603:${PORTSDIR}/multimedia/v4l_compat +BUILD_DEPENDS= v4l_compat>=1.0.20120501:${PORTSDIR}/multimedia/v4l_compat LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ diff --git a/multimedia/libv4l/distinfo b/multimedia/libv4l/distinfo index e0df94415f6e..987c1e3abebd 100644 --- a/multimedia/libv4l/distinfo +++ b/multimedia/libv4l/distinfo @@ -1,2 +1,2 @@ -SHA256 (v4l-utils-0.8.4.tar.bz2) = 20bf73b0c2255dfc6ae82806ec8a663e00ab039df9ee6eadae633466841c0dd7 -SIZE (v4l-utils-0.8.4.tar.bz2) = 348601 +SHA256 (v4l-utils-0.8.8.tar.bz2) = 5fa4c6f4b6f5410de57271a03cc9a15f15195ef3fc05a8e42ecf507d6d70a87f +SIZE (v4l-utils-0.8.8.tar.bz2) = 420888 diff --git a/multimedia/libv4l/files/patch-libv4lconvert_control_libv4lcontrol.c b/multimedia/libv4l/files/patch-libv4lconvert_control_libv4lcontrol.c new file mode 100644 index 000000000000..10e2ad4ad0c0 --- /dev/null +++ b/multimedia/libv4l/files/patch-libv4lconvert_control_libv4lcontrol.c @@ -0,0 +1,15 @@ +--- libv4lconvert/control/libv4lcontrol.c.orig 2012-05-02 21:17:37.000000000 +0200 ++++ libv4lconvert/control/libv4lcontrol.c 2012-05-06 08:52:42.000000000 +0200 +@@ -456,7 +456,12 @@ + while (isspace(*start)) start++; + n = strlen(start); + while (n > 0 && isspace(start[n-1])) --n; ++#ifndef __FreeBSD__ + trimmed_dmi = strndupa(start, n); ++#else ++ trimmed_dmi = (char *)alloca(n + 1); ++ strlcpy(trimmed_dmi, start, n + 1); ++#endif + + /* find trimmed value */ + for (entry_ptr = table_entries; *entry_ptr; entry_ptr++) { |