diff options
author | Koop Mast <kwm@FreeBSD.org> | 2016-09-13 18:10:12 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2016-09-13 18:10:12 +0000 |
commit | a21519011286b5eb2b36f898694f85c5fccd6905 (patch) | |
tree | c0b25b43e69e9ab47627d747fd6bc39acdf79d0d /multimedia/libv4l | |
parent | a17f4f530ce5f27582b040fba6429cdb6ff5196c (diff) | |
download | ports-a21519011286b5eb2b36f898694f85c5fccd6905.tar.gz ports-a21519011286b5eb2b36f898694f85c5fccd6905.zip |
Apply the "old" dvb fontend.h ioctl hack to the dvbv5 version.
So the ioctl doesn't error out.
Submitted by: hselasky@, Rozhuk Ivan <rozhuk.im@gmail.com>
Notes
Notes:
svn path=/head/; revision=422052
Diffstat (limited to 'multimedia/libv4l')
-rw-r--r-- | multimedia/libv4l/Makefile | 2 | ||||
-rw-r--r-- | multimedia/libv4l/files/patch-lib_include_libdvbv5_dvb-frontend.h | 17 |
2 files changed, 18 insertions, 1 deletions
diff --git a/multimedia/libv4l/Makefile b/multimedia/libv4l/Makefile index 42661d666166..3bd679561596 100644 --- a/multimedia/libv4l/Makefile +++ b/multimedia/libv4l/Makefile @@ -4,7 +4,7 @@ PORTNAME?= libv4l PORTVERSION= 1.6.3 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= multimedia MASTER_SITES= http://linuxtv.org/downloads/v4l-utils/:master \ LOCAL/kwm:local diff --git a/multimedia/libv4l/files/patch-lib_include_libdvbv5_dvb-frontend.h b/multimedia/libv4l/files/patch-lib_include_libdvbv5_dvb-frontend.h new file mode 100644 index 000000000000..1406a927ce45 --- /dev/null +++ b/multimedia/libv4l/files/patch-lib_include_libdvbv5_dvb-frontend.h @@ -0,0 +1,17 @@ +--- ./lib/include/libdvbv5/dvb-frontend.h.orig 2016-09-13 19:57:29.863954000 +0200 ++++ ./lib/include/libdvbv5/dvb-frontend.h 2016-09-13 19:58:07.703108000 +0200 +@@ -553,7 +553,13 @@ + }; + + #define FE_SET_PROPERTY _IOW('o', 82, struct dtv_properties) +-#define FE_GET_PROPERTY _IOR('o', 83, struct dtv_properties) ++/* ++ * This is broken on linux as well but they workaround it in the driver. ++ * Since this is impossible to do on FreeBSD fix the header instead. ++ * Detailed and discussion : ++ * http://lists.freebsd.org/pipermail/freebsd-multimedia/2010-April/010958.html ++ */ ++#define FE_GET_PROPERTY _IOW('o', 83, struct dtv_properties) + + + /** |