aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2016-09-14 02:10:12 +0800
committerkwm <kwm@FreeBSD.org>2016-09-14 02:10:12 +0800
commitb680e42e3b68767554394453990233cbbe3731d7 (patch)
treec0b25b43e69e9ab47627d747fd6bc39acdf79d0d /multimedia
parent0ae49d16647dacec3216d59341fb51ffa9c169dd (diff)
downloadfreebsd-ports-gnome-b680e42e3b68767554394453990233cbbe3731d7.tar.gz
freebsd-ports-gnome-b680e42e3b68767554394453990233cbbe3731d7.tar.zst
freebsd-ports-gnome-b680e42e3b68767554394453990233cbbe3731d7.zip
Apply the "old" dvb fontend.h ioctl hack to the dvbv5 version.
So the ioctl doesn't error out. Submitted by: hselasky@, Rozhuk Ivan <rozhuk.im@gmail.com>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libv4l/Makefile2
-rw-r--r--multimedia/libv4l/files/patch-lib_include_libdvbv5_dvb-frontend.h17
2 files changed, 18 insertions, 1 deletions
diff --git a/multimedia/libv4l/Makefile b/multimedia/libv4l/Makefile
index 42661d666166..3bd679561596 100644
--- a/multimedia/libv4l/Makefile
+++ b/multimedia/libv4l/Makefile
@@ -4,7 +4,7 @@
PORTNAME?= libv4l
PORTVERSION= 1.6.3
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES= multimedia
MASTER_SITES= http://linuxtv.org/downloads/v4l-utils/:master \
LOCAL/kwm:local
diff --git a/multimedia/libv4l/files/patch-lib_include_libdvbv5_dvb-frontend.h b/multimedia/libv4l/files/patch-lib_include_libdvbv5_dvb-frontend.h
new file mode 100644
index 000000000000..1406a927ce45
--- /dev/null
+++ b/multimedia/libv4l/files/patch-lib_include_libdvbv5_dvb-frontend.h
@@ -0,0 +1,17 @@
+--- ./lib/include/libdvbv5/dvb-frontend.h.orig 2016-09-13 19:57:29.863954000 +0200
++++ ./lib/include/libdvbv5/dvb-frontend.h 2016-09-13 19:58:07.703108000 +0200
+@@ -553,7 +553,13 @@
+ };
+
+ #define FE_SET_PROPERTY _IOW('o', 82, struct dtv_properties)
+-#define FE_GET_PROPERTY _IOR('o', 83, struct dtv_properties)
++/*
++ * This is broken on linux as well but they workaround it in the driver.
++ * Since this is impossible to do on FreeBSD fix the header instead.
++ * Detailed and discussion :
++ * http://lists.freebsd.org/pipermail/freebsd-multimedia/2010-April/010958.html
++ */
++#define FE_GET_PROPERTY _IOW('o', 83, struct dtv_properties)
+
+
+ /**