summaryrefslogtreecommitdiff
path: root/multimedia/w_scan/files/patch-scan.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-06-20 16:23:28 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-06-20 16:23:28 +0000
commit7ae7b018ccf7760013f368fcb83aad9ecd8982a8 (patch)
treee83ee6693050a76e305a95a376451aa583df151e /multimedia/w_scan/files/patch-scan.c
parenttextproc/rubygem-gitlab-grit: make it work with rubygem-mime-types again (diff)
With the power of USES=dos2unix, get rid of most patches and files
with CRLF. While there, run make makepatch, rename patches to use the new scheme, and various fixes. With hat: portmgr Sponsored by: Absolight
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;
}