aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2007-02-24 07:15:51 +0800
committergrog <grog@FreeBSD.org>2007-02-24 07:15:51 +0800
commit1ca02ccc0e16e38f3d92ce55419df611ce3023bf (patch)
tree32827ec075a3cf627590f2fb0c23ef1aa7346f5b /multimedia
parent967ae7125f2e637110430c78b9e35ddda396e5f6 (diff)
downloadfreebsd-ports-gnome-1ca02ccc0e16e38f3d92ce55419df611ce3023bf.tar.gz
freebsd-ports-gnome-1ca02ccc0e16e38f3d92ce55419df611ce3023bf.tar.zst
freebsd-ports-gnome-1ca02ccc0e16e38f3d92ce55419df611ce3023bf.zip
Don't even think of writing to the capture card.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mythtv/files/patch-libs-libmythtv-cardutil.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/mythtv/files/patch-libs-libmythtv-cardutil.cpp b/multimedia/mythtv/files/patch-libs-libmythtv-cardutil.cpp
new file mode 100644
index 000000000000..2a94e37afbf1
--- /dev/null
+++ b/multimedia/mythtv/files/patch-libs-libmythtv-cardutil.cpp
@@ -0,0 +1,11 @@
+--- libs/libmythtv/cardutil.cpp~ Tue Jul 18 22:05:04 2006
++++ libs/libmythtv/cardutil.cpp Fri Feb 23 11:40:25 2007
+@@ -588,7 +588,7 @@
+ {
+ bool ok;
+ QStringList ret;
+- int videofd = open(device.ascii(), O_RDWR);
++ int videofd = open(device.ascii(), O_RDONLY);
+ if (videofd < 0)
+ {
+ ret += QObject::tr("Could not open '%1' "