LinuxTV Patchwork [ANNOUNCE] epgfixer-plugin 0.1.0

login
register
mail settings
Submitter Matti Lehtimäki
Date May 6, 2012, 12:22 p.m.
Message ID <4FA66D14.1070102@gmail.com>
Download mbox | patch
Permalink /patch/12945/
State New
Headers show

Comments

Matti Lehtimäki - May 6, 2012, 12:22 p.m.
On 05/06/2012 03:00 PM, Marcel Witte wrote:
> Hi,
>
> thanks for the plugin, I started today to build openSUSE-packages for this
> plugin in my repository, but for openSUSE Factory it is failing. Perhaps a
> problem with gcc 4.7?

The problem seems to be related to gcc 4.7. Could you try the following 
patch.
Marcel Witte - May 6, 2012, 8:21 p.m.
Am Sonntag, 6. Mai 2012 schrieb Matti Lehtimäki <matti.lehtimaki@gmail.com>:
> On 05/06/2012 03:00 PM, Marcel Witte wrote:
> > Hi,
> >
> > thanks for the plugin, I started today to build openSUSE-packages for this
> > plugin in my repository, but for openSUSE Factory it is failing. Perhaps a
> > problem with gcc 4.7?
> 
> The problem seems to be related to gcc 4.7. Could you try the following 
> patch.
> 
> diff --git a/tools.h b/tools.h
> index dfcee30..bf49fac 100644
> --- a/tools.h
> +++ b/tools.h
> @@ -57,7 +57,7 @@ protected:
>             cReadLine ReadLine;
>             while ((s = ReadLine.Read(f)) != NULL) {
>                   if (!isempty(s)) {
> -                   Add(new T());
> +                   this->Add(new T());
>                      cList<T>::Last()->SetFromString(s, true);
>                      }
>                   }

Using this Patch it is compiling :) Thanks

Patch

diff --git a/tools.h b/tools.h
index dfcee30..bf49fac 100644
--- a/tools.h
+++ b/tools.h
@@ -57,7 +57,7 @@  protected:
            cReadLine ReadLine;
            while ((s = ReadLine.Read(f)) != NULL) {
                  if (!isempty(s)) {
-                   Add(new T());
+                   this->Add(new T());
                     cList<T>::Last()->SetFromString(s, true);
                     }
                  }

Privacy Policy