Package: vdr
Version: 1.4.0-1
Tags: patch
Severity: important

Your package fails to build with G++ 4.1.  I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to grave (since
it makes other packages FTBFS).  The 0 day NMU policy applies already
so please fix this soon.  Thanks.

A patch is attached.


> Automatic build of vdr-plugin-prefermenu_0.6.4-21 on 
> test.track.rz.uni-augsburg.de by sbuild/powerpc 0.44
...
> g++ -fPIC -O2 -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"prefermenu"' 
> -D_GNU_SOURCE -I/usr/include/vdr/include -I/usr/include/include prefermenu.c
> /usr/include/vdr/config.h:71: error: extra qualification 'cCommand::' on 
> member 'getChilds'
> make[1]: *** [prefermenu.o] Error 1

--- ./debian/patches/03_cmdsubmenu.dpatch~      2006-05-15 10:30:49.000000000 
+0000
+++ ./debian/patches/03_cmdsubmenu.dpatch       2006-05-15 10:31:13.000000000 
+0000
@@ -166,7 +166,7 @@
    const char *Execute(const char *Parameters = NULL);
 +  int getIndent(void) { return nIndent; }
 +  void setIndent(int nNewIndent) { nIndent = nNewIndent; }
-+  cCommands *cCommand::getChilds(void) { return childs; }
++  cCommands *getChilds(void) { return childs; }
 +  int getChildCount(void);
 +  bool hasChilds(void) { return getChildCount() > 0; }
 +  void addChild(cCommand *newChild);

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to