[PATCH 3/4] sys/fcntl.h is a less portable synonym to fcntl.h

2015-05-10 Thread Felix Janda
Signed-off-by: Felix Janda felix.ja...@posteo.de --- utils/qv4l2/raw2sliced.cpp | 2 +- utils/v4l2-compliance/v4l-helpers.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/qv4l2/raw2sliced.cpp b/utils/qv4l2/raw2sliced.cpp index 4db158a..9fee6e1 100644

[PATCH 4/4] Compile without ENABLE_NLS

2015-05-10 Thread Felix Janda
Signed-off-by: Felix Janda felix.ja...@posteo.de --- utils/dvb/dvb-fe-tool.c| 2 ++ utils/dvb/dvb-format-convert.c | 2 ++ utils/dvb/dvbv5-scan.c | 2 ++ utils/dvb/dvbv5-zap.c | 2 ++ utils/keytable/keytable.c | 2 ++ 5 files changed, 10 insertions(+) diff --git

Re: [PATCHv2 1/4] Use off_t and off64_t instead of __off_t and __off64_t

2015-05-10 Thread Felix Janda
Hello, Gregor Jasny wrote: Hello, Due to complete lack of unit / integration tests I feel uncomfortable merging this patch without the ACK of Hans de Goede. Thanks for merging the other patches. Sorry for them having been dependent on this patch. On 05/05/15 21:02, Felix Janda wrote

[PATCH 1/4] Remove dead code behind CONFIG_SYS_WRAPPER

2015-05-10 Thread Felix Janda
Signed-off-by: Felix Janda felix.ja...@posteo.de --- lib/libv4lconvert/libv4lsyscall-priv.h | 22 -- 1 file changed, 22 deletions(-) diff --git a/lib/libv4lconvert/libv4lsyscall-priv.h b/lib/libv4lconvert/libv4lsyscall-priv.h index f548fb2..e5f74f3 100644 --- a/lib

[PATCH 2/4] Globally enable LARGEFILE support

2015-05-10 Thread Felix Janda
to get the correct type for use in mmap/mmap64 independent of _FILE_OFFSET_BITS definition. Signed-off-by: Felix Janda felix.ja...@posteo.de --- Actually all files should have config.h before the other includes to take advantage. --- configure.ac | 2 ++ lib/libv4l1/v4l1compat.c | 23

[PATCHv2 1/4] Use off_t and off64_t instead of __off_t and __off64_t

2015-05-05 Thread Felix Janda
Since _LARGEFILE64_SOURCE is 1, these types coincide if defined. Signed-off-by: Felix Janda felix.ja...@posteo.de --- v2: rebased Mauro Carvalho Chehab wrote: Thanks for the review. Em Sun, 25 Jan 2015 21:36:15 +0100 Felix Janda felix.ja...@posteo.de escreveu: Since _LARGEFILE64_SOURCE

[PATCHv2 2/4] Test for ioctl() function signature

2015-05-05 Thread Felix Janda
On glibc, ioctl has the signature ioctl(int, unsigned long int, ...). On musl, libc and according to POSIX it is ioctl(int, int, ...). Add a configure test adapted from gnulib's ioctl.m4 to make the DL_PRELOAD libraries work for both signatures. Signed-off-by: Felix Janda felix.ja...@posteo.de

[PATCHv2 3/4] Wrap LFS64 functions only if linux __GLIBC__

2015-05-05 Thread Felix Janda
For musl libc, open64 is #define'd to open. Therefore we should not try to wrap both open and open64. Signed-off-by: Felix Janda felix.ja...@posteo.de --- v2: Test for linux as well Mauro Carvalho Chehab wrote: [..] Hmm... linux was added here to avoid breaking on FreeBSD, on this changeset

[PATCH 4/4] contrib/test: Add missing LIB_ARGP

2015-01-25 Thread Felix Janda
v4l2gl and v4l2grab need argp. Signed-off-by: Felix Janda felix.ja...@posteo.de --- contrib/test/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/test/Makefile.am b/contrib/test/Makefile.am index 0bfa33e..7f84435 100644 --- a/contrib/test/Makefile.am

[PATCH 3/4] Wrap LFS64 functions only if __GLIBC__

2015-01-25 Thread Felix Janda
The functions open64 and mmap64 are glibc specific. Signed-off-by: Felix Janda felix.ja...@posteo.de --- lib/libv4l1/v4l1compat.c | 4 ++-- lib/libv4l2/v4l2convert.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/libv4l1/v4l1compat.c b/lib/libv4l1/v4l1compat.c

[PATCH 1/4] Use off_t and off64_t instead of __off_t and __off64_t

2015-01-25 Thread Felix Janda
Since _LARGEFILE64_SOURCE is 1, these types coincide if defined. Signed-off-by: Felix Janda felix.ja...@posteo.de --- lib/libv4l1/v4l1compat.c | 5 ++--- lib/libv4l2/v4l2convert.c | 4 ++-- lib/libv4lconvert/libv4lsyscall-priv.h | 7 +++ 3 files changed, 7

[PATCH 2/4] Test for ioctl() function signature

2015-01-25 Thread Felix Janda
On glibc, ioctl has the signature ioctl(int, unsigned long int, ...). On musl, libc and according to POSIX it is ioctl(int, int, ...). Add a configure test adapted from gnulib's ioctl.m4 to make the DL_PRELOAD libraries work for both signatures. Signed-off-by: Felix Janda felix.ja...@posteo.de