patch for eepg-0.0.3

Message ID 4C7F8EF9.1070102@embl.de
State New
Headers

Commit Message

martinez@embl.de Sept. 2, 2010, 11:48 a.m. UTC
  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@embl.de>


  // originally from libdtv, Copyright Rolf Hakenes <hakenes@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;
  

Patch

--- 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);