aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2011-08-21 03:45:34 +0800
committernox <nox@FreeBSD.org>2011-08-21 03:45:34 +0800
commit2c67f1178fc92b7473e5509acd73b872ea902069 (patch)
treef3c21b6dc4f2d1636541cfdc53c71f337f4d8ed8 /multimedia
parent2bdea797d1b7845f1c498affc7b897bf3b18b6d1 (diff)
downloadfreebsd-ports-gnome-2c67f1178fc92b7473e5509acd73b872ea902069.tar.gz
freebsd-ports-gnome-2c67f1178fc92b7473e5509acd73b872ea902069.tar.zst
freebsd-ports-gnome-2c67f1178fc92b7473e5509acd73b872ea902069.zip
- Add diseqc fix.
- Bump PORTREVISION. Reported by: hselasky Obtained from: vdr mailinglist
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/vdr/Makefile2
-rw-r--r--multimedia/vdr/files/patch-diseqc.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/multimedia/vdr/Makefile b/multimedia/vdr/Makefile
index 58b2f80dddd3..eb1ad6ce1613 100644
--- a/multimedia/vdr/Makefile
+++ b/multimedia/vdr/Makefile
@@ -7,7 +7,7 @@
PORTNAME= vdr
PORTVERSION= 1.7.19
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= ftp://ftp.tvdr.de/vdr/Developer/
diff --git a/multimedia/vdr/files/patch-diseqc.c b/multimedia/vdr/files/patch-diseqc.c
new file mode 100644
index 000000000000..c4811781d87d
--- /dev/null
+++ b/multimedia/vdr/files/patch-diseqc.c
@@ -0,0 +1,11 @@
+--- diseqc.c.orig
++++ diseqc.c
+@@ -108,7 +108,7 @@ const char *cDiseqc::Codes(const char *s
+ errno = 0;
+ int n = strtol(t, &p, 16);
+ if (!errno && p != t && 0 <= n && n <= 255) {
+- if (parsing) {
++ if (!parsing) {
+ codes[NumCodes++] = uchar(n);
+ numCodes = NumCodes;
+ }