r4076 - vdr/vdr-plugin-radio/trunk/debian/patches
Tobias Grimm
tiber-guest at alioth.debian.org
Wed Jan 17 02:49:49 CET 2007
Author: tiber-guest
Date: 2007-01-17 02:49:48 +0100 (Wed, 17 Jan 2007)
New Revision: 4076
Modified:
vdr/vdr-plugin-radio/trunk/debian/patches/02_radio-0.1.1-fix-DataDir.dpatch
Log:
damn - its late!
Modified: vdr/vdr-plugin-radio/trunk/debian/patches/02_radio-0.1.1-fix-DataDir.dpatch
===================================================================
--- vdr/vdr-plugin-radio/trunk/debian/patches/02_radio-0.1.1-fix-DataDir.dpatch 2007-01-17 01:21:16 UTC (rev 4075)
+++ vdr/vdr-plugin-radio/trunk/debian/patches/02_radio-0.1.1-fix-DataDir.dpatch 2007-01-17 01:49:48 UTC (rev 4076)
@@ -11,23 +11,23 @@
@DPATCH@
diff -urNad vdr-plugin-radio-0.2.0~/radio.c vdr-plugin-radio-0.2.0/radio.c
---- vdr-plugin-radio-0.2.0~/radio.c 2006-12-28 14:41:33.000000000 +0100
-+++ vdr-plugin-radio-0.2.0/radio.c 2007-01-17 00:29:57.000000000 +0100
+--- vdr-plugin-radio-0.2.0~/radio.c 2007-01-17 02:41:14.000000000 +0100
++++ vdr-plugin-radio-0.2.0/radio.c 2007-01-17 02:43:23.000000000 +0100
@@ -429,7 +429,10 @@
if (!ConfigDirParam)
ConfigDir = strdup(ConfigDirectory(Name()));
if (!DataDirParam)
- DataDir = strdup(ConfigDirectory(Name()));
+ {
-+ char* tmp_template = "/tmp/radio.XXXXXX";
-+ DataDir = strdup(mkdtemp(tmp_template));
++ DataDir = strdup("/tmp/radio.XXXXXX");
++ mkdtemp((char*)DataDir);
+ }
if (!LiveFileParam)
asprintf(&LiveFile, "%s/radio.mpg", ConfigDir);
if (!ReplayFileParam)
diff -urNad vdr-plugin-radio-0.2.0~/radioaudio.c vdr-plugin-radio-0.2.0/radioaudio.c
---- vdr-plugin-radio-0.2.0~/radioaudio.c 2007-01-16 23:55:06.000000000 +0100
-+++ vdr-plugin-radio-0.2.0/radioaudio.c 2007-01-17 00:06:43.000000000 +0100
+--- vdr-plugin-radio-0.2.0~/radioaudio.c 2007-01-17 02:41:14.000000000 +0100
++++ vdr-plugin-radio-0.2.0/radioaudio.c 2007-01-17 02:42:29.000000000 +0100
@@ -1016,7 +1016,7 @@
}
@@ -50,8 +50,8 @@
time_t t = time(NULL);
ts = localtime_r(&t, &tm_store);
diff -urNad vdr-plugin-radio-0.2.0~/radiotools.c vdr-plugin-radio-0.2.0/radiotools.c
---- vdr-plugin-radio-0.2.0~/radiotools.c 2007-01-16 23:55:06.000000000 +0100
-+++ vdr-plugin-radio-0.2.0/radiotools.c 2007-01-17 00:06:08.000000000 +0100
+--- vdr-plugin-radio-0.2.0~/radiotools.c 2007-01-17 02:41:14.000000000 +0100
++++ vdr-plugin-radio-0.2.0/radiotools.c 2007-01-17 02:42:29.000000000 +0100
@@ -9,6 +9,8 @@
#include "radiotools.h"
#include <string.h>
@@ -87,8 +87,8 @@
//--------------- End -----------------------------------------------------------------
diff -urNad vdr-plugin-radio-0.2.0~/radiotools.h vdr-plugin-radio-0.2.0/radiotools.h
---- vdr-plugin-radio-0.2.0~/radiotools.h 2007-01-16 23:55:06.000000000 +0100
-+++ vdr-plugin-radio-0.2.0/radiotools.h 2007-01-17 00:06:20.000000000 +0100
+--- vdr-plugin-radio-0.2.0~/radiotools.h 2007-01-17 02:41:14.000000000 +0100
++++ vdr-plugin-radio-0.2.0/radiotools.h 2007-01-17 02:42:29.000000000 +0100
@@ -6,4 +6,6 @@
char *rtrim(char *text);
More information about the pkg-vdr-dvb-changes
mailing list