Gentoo Archives: gentoo-commits

From: "Joerg Bornkessel (hd_brummy)" <hd_brummy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-rssreader/files: vdr-rssreader-1.6.4_gcc-4.7.diff
Date: Thu, 21 Jun 2012 13:23:24
Message-Id: 20120621132314.482A72004B@flycatcher.gentoo.org
hd_brummy    12/06/21 13:23:14

  Added:                vdr-rssreader-1.6.4_gcc-4.7.diff
  Log:
  eapi=4; vdr-plugin-2.eclass; gcc-4.7 compile fix on #421961
  
  (Portage version: 2.1.10.11/cvs/Linux i686)

Revision  Changes    Path
1.1                  media-plugins/vdr-rssreader/files/vdr-rssreader-1.6.4_gcc-4.7.diff

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-rssreader/files/vdr-rssreader-1.6.4_gcc-4.7.diff?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-rssreader/files/vdr-rssreader-1.6.4_gcc-4.7.diff?rev=1.1&content-type=text/plain

Index: vdr-rssreader-1.6.4_gcc-4.7.diff
===================================================================
gcc-4.7 compilefix
https://bugs.gentoo.org/show_bug.cgi?id=421961
signed-of-by:	Joerg Bornkessel <hd_brummy@g.o> (21/06/2012)

diff -Naur rssreader-1.6.4.orig/menu.c rssreader-1.6.4/menu.c
--- rssreader-1.6.4.orig/menu.c	2012-06-21 15:12:03.000000000 +0200
+++ rssreader-1.6.4/menu.c	2012-06-21 15:13:29.000000000 +0200
@@ -159,7 +159,7 @@
 :cOsdMenu(tr("Select RSS item"))
 {
   for (cItem *rssItem = Parser.Items.First(); rssItem; rssItem = Parser.Items.Next(rssItem))
-     Add(new cOsdItem(rssItem->GetTitle()));
+     this->Add(new cOsdItem(rssItem->GetTitle()));
   SetHelp(NULL, "<<", ">>", NULL);
   Display();
 }