summaryrefslogtreecommitdiff
path: root/multimedia/w_scan/files/patch-scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/w_scan/files/patch-scan.c')
-rw-r--r--multimedia/w_scan/files/patch-scan.c18
1 files changed, 15 insertions, 3 deletions
diff --git a/multimedia/w_scan/files/patch-scan.c b/multimedia/w_scan/files/patch-scan.c
index 5fa98523dca7..88910e56532d 100644
--- a/multimedia/w_scan/files/patch-scan.c
+++ b/multimedia/w_scan/files/patch-scan.c
@@ -1,6 +1,18 @@
---- a/scan.c
-+++ b/scan.c
-@@ -2936,8 +2936,8 @@ int main (int argc, char **argv)
+--- scan.c.orig 2016-06-20 13:13:56 UTC
++++ scan.c
+@@ -1816,7 +1816,11 @@ static int set_frontend(int frontend_fd,
+ case SCAN_TERRESTRIAL:
+ set_cmd_sequence(DTV_DELIVERY_SYSTEM, t->param.u.terr.delivery_system);
+ if (t->param.u.terr.delivery_system == SYS_DVBT2) {
++#ifndef DTV_DVBT2_PLP_ID
++ set_cmd_sequence(DTV_DVBT2_PLP_ID_LEGACY, t->pids.plp_id);
++#else
+ set_cmd_sequence(DTV_DVBT2_PLP_ID, t->pids.plp_id);
++#endif
+ }
+ set_cmd_sequence(DTV_FREQUENCY, t->param.frequency);
+ set_cmd_sequence(DTV_INVERSION, t->param.inversion);
+@@ -3010,8 +3014,8 @@ int main (int argc, char **argv)
cleanup();
return -1;
}