- update to vdr-1.7.10
This commit is contained in:
Stephan Raue 2009-12-30 15:19:57 +01:00
parent 856ce3e4f2
commit 3f8883dfcd
6 changed files with 1206 additions and 1702 deletions

View File

@ -1,11 +0,0 @@
diff -Naur vdr-1.7.9/tools.h vdr-1.7.9.patch/tools.h
--- vdr-1.7.9/tools.h 2009-04-14 22:41:39.000000000 +0200
+++ vdr-1.7.9.patch/tools.h 2009-10-06 20:41:43.924419570 +0200
@@ -19,6 +19,7 @@
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
+#include <stdarg.h>
#include <string.h>
#include <syslog.h>
#include <sys/stat.h>

View File

@ -1,14 +0,0 @@
diff -Naur vdr-1.7.9/dvbdevice.h vdr-1.7.9.patch/dvbdevice.h
--- vdr-1.7.9/dvbdevice.h 2009-06-06 13:16:47.000000000 +0200
+++ vdr-1.7.9.patch/dvbdevice.h 2009-10-06 20:36:09.827294633 +0200
@@ -16,8 +16,8 @@
#include "device.h"
#include "dvbspu.h"
-#if DVB_API_VERSION != 5 || DVB_API_VERSION_MINOR != 0
-#error VDR requires Linux DVB driver API version 5.0!
+#if DVB_API_VERSION != 5
+#error VDR requires Linux DVB driver API version 5.0 or higher!
#endif
#define MAXDVBDEVICES 8

View File

@ -1,13 +0,0 @@
diff -Naur vdr-1.7.9/tools.c vdr-1.7.9.patch/tools.c
--- vdr-1.7.9/tools.c 2009-05-31 13:43:24.000000000 +0200
+++ vdr-1.7.9.patch/tools.c 2009-10-06 22:12:39.421294729 +0200
@@ -484,7 +484,8 @@
{
if (!FileName)
return NULL;
- char *TargetName = canonicalize_file_name(FileName);
+ char *ResolvedName = (char*) malloc(1024);
+ char *TargetName = realpath(FileName, ResolvedName);
if (!TargetName) {
if (errno == ENOENT) // file doesn't exist
TargetName = strdup(FileName);

View File

@ -1,25 +0,0 @@
diff -Naur vdr-1.7.9/thread.c vdr-1.7.9.patch/thread.c
--- vdr-1.7.9/thread.c 2009-04-13 15:50:39.000000000 +0200
+++ vdr-1.7.9.patch/thread.c 2009-10-06 22:10:06.587419872 +0200
@@ -160,10 +160,17 @@
if (!GetAbsTime(&abstime, TimeoutMs))
TimeoutMs = 0;
}
- if (Write)
- Result = TimeoutMs ? pthread_rwlock_timedwrlock(&rwlock, &abstime) : pthread_rwlock_wrlock(&rwlock);
- else
- Result = TimeoutMs ? pthread_rwlock_timedrdlock(&rwlock, &abstime) : pthread_rwlock_rdlock(&rwlock);
+
+ while (true) {
+ if (Write)
+ Result = pthread_rwlock_wrlock(&rwlock);
+ else
+ Result = pthread_rwlock_rdlock(&rwlock);
+ if ( Result == 0 | TimeoutMs == 0 )
+ break;
+ TimeoutMs--;
+ usleep(1000);
+ }
return Result == 0;
}

View File

@ -1 +1 @@
ftp://ftp.tvdr.de/vdr/Developer/vdr-1.7.9.tar.bz2
ftp://ftp.tvdr.de/vdr/Developer/vdr-1.7.10.tar.bz2