aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2015-01-25 03:36:30 +0800
committernox <nox@FreeBSD.org>2015-01-25 03:36:30 +0800
commit69d91ebde986a6e06d4fa7c4946f369a2265ad77 (patch)
tree14721a4d7f5f24a7e6b1ccc1b0d35563d47ef4ad /multimedia
parent8adc2e3d29caea6a5b7a4e1d20392df0c59e3996 (diff)
downloadfreebsd-ports-gnome-69d91ebde986a6e06d4fa7c4946f369a2265ad77.tar.gz
freebsd-ports-gnome-69d91ebde986a6e06d4fa7c4946f369a2265ad77.tar.zst
freebsd-ports-gnome-69d91ebde986a6e06d4fa7c4946f369a2265ad77.zip
Fix build with the upcoming v4l_compat update. [1]
https://reviews.freebsd.org/D1482 [1]
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/vdr/files/patch-z-dvbdevice.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/multimedia/vdr/files/patch-z-dvbdevice.c b/multimedia/vdr/files/patch-z-dvbdevice.c
new file mode 100644
index 000000000000..078f559a23d9
--- /dev/null
+++ b/multimedia/vdr/files/patch-z-dvbdevice.c
@@ -0,0 +1,14 @@
+--- dvbdevice.c.orig
++++ dvbdevice.c
+@@ -823,7 +823,11 @@ bool cDvbTuner::SetFrontend(void)
+ SETCMD(DTV_HIERARCHY, dtp.Hierarchy());
+ if (frontendType == SYS_DVBT2) {
+ // DVB-T2
++#ifndef DTV_DVBT2_PLP_ID
++ SETCMD(DTV_DVBT2_PLP_ID_LEGACY, dtp.PlpId());
++#else
+ SETCMD(DTV_DVBT2_PLP_ID, dtp.PlpId());
++#endif
+ }
+
+ tuneTimeout = DVBT_TUNE_TIMEOUT;