summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/vdr-extrecmenu/files/vdr-extrecmenu-1.2-gcc44.patch')
-rw-r--r--media-plugins/vdr-extrecmenu/files/vdr-extrecmenu-1.2-gcc44.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/media-plugins/vdr-extrecmenu/files/vdr-extrecmenu-1.2-gcc44.patch b/media-plugins/vdr-extrecmenu/files/vdr-extrecmenu-1.2-gcc44.patch
new file mode 100644
index 000000000000..96fd9376eb53
--- /dev/null
+++ b/media-plugins/vdr-extrecmenu/files/vdr-extrecmenu-1.2-gcc44.patch
@@ -0,0 +1,23 @@
+diff -Naur extrecmenu-1.2.orig/mymenueditrecording.c extrecmenu-1.2/mymenueditrecording.c
+--- extrecmenu-1.2.orig/mymenueditrecording.c 2010-09-22 15:31:27.000000000 +0200
++++ extrecmenu-1.2/mymenueditrecording.c 2010-09-22 15:36:19.000000000 +0200
+@@ -25,15 +25,15 @@
+
+ if(recording)
+ {
+- char *p=(char*)strrchr(recording->Name(),'~'); //TODO
++ const char *p=(char*)strrchr(recording->Name(),'~'); //TODO
+ if(p)
+ {
+ strn0cpy(name,++p,sizeof(name));
+ strn0cpy(path,recording->Name(),sizeof(path));
+
+- p=strrchr(path,'~');
+- if(p)
+- *p=0;
++ char *p2 = strrchr(path,'~');
++ if(p2)
++ *p2=0;
+ }
+ else
+ strn0cpy(name,recording->Name(),sizeof(name));