svn commit: r377825 - head/multimedia/w_scan/files

Juergen Lock nox at FreeBSD.org
Sat Jan 24 20:54:57 UTC 2015


Author: nox
Date: Sat Jan 24 20:54:56 2015
New Revision: 377825
URL: https://svnweb.freebsd.org/changeset/ports/377825
QAT: https://qat.redports.org/buildarchive/r377825/

Log:
  (Attempt to) fix build with the upcoming v4l_compat update. [1]
  
  https://reviews.freebsd.org/D1482 [1]

Added:
  head/multimedia/w_scan/files/patch-z-scan.c   (contents, props changed)

Added: head/multimedia/w_scan/files/patch-z-scan.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/w_scan/files/patch-z-scan.c	Sat Jan 24 20:54:56 2015	(r377825)
@@ -0,0 +1,14 @@
+--- a/scan.c
++++ b/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);


More information about the svn-ports-all mailing list