summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2006-10-16 20:34:00 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2006-10-16 20:34:00 +0000
commit97c664e51140f388adc0b4f07e08b48fafe21225 (patch)
tree8cae12fe19ba517107c258e3c9e304424d45f27f /media-video/noad/files
parentAdd menu entry. Bug #150362 (diff)
downloadgentoo-2-97c664e51140f388adc0b4f07e08b48fafe21225.tar.gz
gentoo-2-97c664e51140f388adc0b4f07e08b48fafe21225.tar.bz2
gentoo-2-97c664e51140f388adc0b4f07e08b48fafe21225.zip
add patch - Fixes problems with noad --OSD if vdr is not running
(Portage version: 2.1.1)
Diffstat (limited to 'media-video/noad/files')
-rw-r--r--media-video/noad/files/digest-noad-0.6.0-r63
-rw-r--r--media-video/noad/files/noad-0.6.0-fix-osd.patch30
2 files changed, 33 insertions, 0 deletions
diff --git a/media-video/noad/files/digest-noad-0.6.0-r6 b/media-video/noad/files/digest-noad-0.6.0-r6
new file mode 100644
index 000000000000..05e249e57c9d
--- /dev/null
+++ b/media-video/noad/files/digest-noad-0.6.0-r6
@@ -0,0 +1,3 @@
+MD5 62947d5afec56cdb9884535d9813530d noad-0.6.0.tar.bz2 151369
+RMD160 762c8efeb89d681a77d83d0df70668b62a7057dd noad-0.6.0.tar.bz2 151369
+SHA256 f473f0137fa9ba8f7a736d9ca019fe5491e1744b17b54a1bdbfc23a9c8001183 noad-0.6.0.tar.bz2 151369
diff --git a/media-video/noad/files/noad-0.6.0-fix-osd.patch b/media-video/noad/files/noad-0.6.0-fix-osd.patch
new file mode 100644
index 000000000000..d25eb0064e00
--- /dev/null
+++ b/media-video/noad/files/noad-0.6.0-fix-osd.patch
@@ -0,0 +1,30 @@
+http://www.e-tobi.net/cgi-bin/viewcvs.cgi/vdr-addon-noad/trunk/debian/patches/10_fix-osd.dpatch?rev=1946&root=vdr+subversion+repository&view=auto
+
+Fixes problems with "noad --OSD" if vdr is not running.
+
+Joerg Bornkessel <hd_brummy@gentoo.org> 16 Oct 2006
+
+--- old/svdrpc.cpp Tue Jun 22 00:41:57 2004
++++ new/svdrpc.cpp Sat Dec 18 19:54:44 2004
+@@ -189,6 +189,10 @@
+ {
+ select(1, &set, NULL, NULL, &timeout);
+ n = read(filedes, buf + rbytes, 1);
++ if(n<0) {
++ filedes=-1;
++ break;
++ }
+ rbytes += n;
+ if (rbytes == size)
+ break;
+@@ -214,7 +218,8 @@
+ while( i < 100 && outstandingReply > 0 )
+ {
+ usleep(10000);
+- ReadReply();
++ if( !ReadReply() )
++ break;
+ i++;
+ }
+ return( outstandingReply <= 0 );
+