[vdr] patch for eepg-0.0.3

Arturo Martinez martinez at embl.de
Thu Sep 2 13:48:09 CEST 2010


Hello,

The eepg plugin 0.0.3 was not compiling since I upgraded my system to a 
new distro with a recent gcc and kernel 2.6.34

A very small patch fixes the problem so I would like to share it (Thanks 
to Alain Becam for spotting the problem and suggesting the fix)

file:///home/arturo/Public/eepg.0.3.patch 
<cid:part1.01060301.01050406 at embl.de>

--- eepg.c.ori    2010-09-01 15:43:56.000000000 +0200
+++ eepg.c    2010-09-01 15:45:02.000000000 +0200
@@ -2684,7 +2684,7 @@
    class cEIT2:public SI::EIT
    {
    public:
-    cEIT2 (cSchedules::cSchedules * Schedules, int Source, u_char Tid, 
const u_char * Data,
+    cEIT2 (cSchedules * Schedules, int Source, u_char Tid, const u_char 
* Data,
         bool OnlyRunningStatus = false);

  // originally from libdtv, Copyright Rolf Hakenes <hakenes at hippomi.de>
@@ -2773,7 +2773,7 @@
    }
  #endif /* NOEPG */

-  cEIT2::cEIT2 (cSchedules::cSchedules * Schedules, int Source, u_char 
Tid, const u_char * Data, bool OnlyRunningStatus)
+  cEIT2::cEIT2 (cSchedules * Schedules, int Source, u_char Tid, const 
u_char * Data, bool OnlyRunningStatus)
  :  SI::EIT (Data, false) {
      if (!CheckCRCAndParse ())
        return;





More information about the vdr mailing list