#! /bin/sh /usr/share/dpatch/dpatch-run
## 94_gcc-4.4.dpatch by Tobias Grimm <etobi@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad vdr-plugin-control-0.0.2a~/formatter.c vdr-plugin-control-0.0.2a/formatter.c
--- vdr-plugin-control-0.0.2a~/formatter.c	2004-07-02 21:24:22.000000000 +0200
+++ vdr-plugin-control-0.0.2a/formatter.c	2009-11-11 22:07:56.000000000 +0100
@@ -165,7 +165,7 @@
 
   if (Title) {
 
-    char* t = strchr(Title, '\t');
+    const char* t = strchr(Title, '\t');
     if (t) {
 
       int size = t - Title;
@@ -300,7 +300,7 @@
 
   for (;;) {
 
-    char* t = strchr(text, '\t');
+    const char* t = strchr(text, '\t');
     if (t) {
       // Tab found - check if the tab can be used
 
