summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/vdr-decruft/files/vdr-decruft-0.0.4-avoid-vdr-patch.diff')
-rw-r--r--media-plugins/vdr-decruft/files/vdr-decruft-0.0.4-avoid-vdr-patch.diff17
1 files changed, 17 insertions, 0 deletions
diff --git a/media-plugins/vdr-decruft/files/vdr-decruft-0.0.4-avoid-vdr-patch.diff b/media-plugins/vdr-decruft/files/vdr-decruft-0.0.4-avoid-vdr-patch.diff
new file mode 100644
index 000000000000..926c33bc9577
--- /dev/null
+++ b/media-plugins/vdr-decruft/files/vdr-decruft-0.0.4-avoid-vdr-patch.diff
@@ -0,0 +1,17 @@
+diff -urNad vdr-plugin-decruft-0.0.4~/cruft.c vdr-plugin-decruft-0.0.4/cruft.c
+--- vdr-plugin-decruft-0.0.4~/cruft.c 2005-02-20 19:34:01.000000000 +0100
++++ vdr-plugin-decruft-0.0.4/cruft.c 2006-11-11 21:57:24.000000000 +0100
+@@ -535,8 +535,10 @@
+ /* Not defined, so define it */
+ if ( !groupSep ) {
+ groupSep = new cChannel();
+- groupSep->SetName(settings->group_name,"","");
+- groupSep->SetGroupSep(true);
++ char* groupSepString;
++ asprintf(&groupSepString, ":%s", settings->group_name);
++ groupSep->Parse(groupSepString);
++ free(groupSepString);
+ Channels.Add(groupSep);
+ }
+ /* Move the channel to the end of the group */
+