hd_brummy    15/01/30 16:04:48

  Added:                vdr-decruft-0.0.4_compile.patch
  Log:
  compile fixed, wrt bug 537658; minor fixes
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
34C2808A)

Revision  Changes    Path
1.1                  
media-plugins/vdr-decruft/files/vdr-decruft-0.0.4_compile.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-decruft/files/vdr-decruft-0.0.4_compile.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-decruft/files/vdr-decruft-0.0.4_compile.patch?rev=1.1&content-type=text/plain

Index: vdr-decruft-0.0.4_compile.patch
===================================================================
compile fix
https://bugs.gentoo.org/show_bug.cgi?id=537658
Signed-of-by: Joerg Bornkessel <hd_bru...@gentoo.org> 30/jan/2015
diff -Naur decruft-0.0.4.orig/cruft.c decruft-0.0.4/cruft.c
--- decruft-0.0.4.orig/cruft.c  2015-01-30 16:41:24.000000000 +0100
+++ decruft-0.0.4/cruft.c       2015-01-30 16:42:55.000000000 +0100
@@ -15,6 +15,7 @@
 
 
 #include <vdr/channels.h>
+#include <vdr/dvbdevice.h>
 
 #include <stdio.h>
 #include <string.h>
@@ -439,7 +440,8 @@
        }
    }
    if ( settings->num_pols ) {
-       char  pol = tolower(Channel->Polarization());
+       cDvbTransponderParameters dtp(Channel->Parameters());
+       char  pol = tolower(dtp.Polarization());
        tests++;
        for ( j = 0; j < settings->num_pols; j++ ) {
            if ( settings->pols[j] == pol ) {




Reply via email to