ports/multimedia/libv4l/files/patch-lib_include_libdvbv5_dvb-frontend.h
Hans Petter Selasky 6dd2426803 Upgrade v4l_compat, libv4l and v4l-utils to v1.18.0.
The most important change is that up-to-date V4L header files are now
sourced from the webcamd distribution tarball.

Refer to the ChangeLog file in the v4l-utils tarball for a comprehensive
list of changes.

PR:		245501
Approved by:	pi (implicit)
2020-04-17 08:34:50 +00:00

20 lines
731 B
C

--- lib/include/libdvbv5/dvb-frontend.h.orig 2020-04-09 16:29:54 UTC
+++ lib/include/libdvbv5/dvb-frontend.h
@@ -908,7 +908,17 @@ struct dtv_properties {
#define FE_DISHNETWORK_SEND_LEGACY_CMD _IO('o', 80) /* unsigned int */
#define FE_SET_PROPERTY _IOW('o', 82, struct dtv_properties)
+#ifdef __linux__
#define FE_GET_PROPERTY _IOR('o', 83, struct dtv_properties)
+#else
+/*
+ * 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)
+#endif
/*