1 --- lib/include/libdvbv5/dvb-frontend.h.orig	2020-04-09 16:29:54 UTC
2 +++ lib/include/libdvbv5/dvb-frontend.h
3 @@ -908,7 +908,17 @@ struct dtv_properties {
4  #define FE_DISHNETWORK_SEND_LEGACY_CMD _IO('o', 80) /* unsigned int */
5 
6  #define FE_SET_PROPERTY		   _IOW('o', 82, struct dtv_properties)
7 +#ifdef __linux__
8  #define FE_GET_PROPERTY		   _IOR('o', 83, struct dtv_properties)
9 +#else
10 +/*
11 + * This is broken on Linux as well but they workaround it in the driver.
12 + * Since this is impossible to do on FreeBSD fix the header instead.
13 + * Detailed and discussion :
14 + * http://lists.freebsd.org/pipermail/freebsd-multimedia/2010-April/010958.html
15 + */
16 +#define FE_GET_PROPERTY		   _IOW('o', 83, struct dtv_properties)
17 +#endif
18 
19 
20  /*
21