Package: stardict
Version: 2.4.5-1.1
Severity: important
Tags: patch
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 serious.
A patch is below.
> Automatic build of stardict_2.4.5-1.1 on bigsur by sbuild/mips 1.94
...
> if mips-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -DORBIT2=1 -pthread
> -DXTHREADS -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0
> -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0
> -I/usr/include/libart-2.0 -I/usr/include/gconf/2
> -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0
> -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
> -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0
> -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/X11R6/include
> -I/usr/include/libxml2 -DDATADIR=\""/usr/share"\"
> -DGNOME_ICONDIR=\""/usr/share/pixmaps"\"
> -DSTARDICT_LOCALEDIR=\""/usr/share/locale"\"
> -DSTARDICT_DATA_DIR=\""/usr/share/stardict"\" -g -O2 -MT
> stardict-application-server.o -MD -MP -MF
> ".deps/stardict-application-server.Tpo" -c -o stardict-application-server.o
> stardict-application-server.cpp; \
> then mv -f ".deps/stardict-application-server.Tpo"
> ".deps/stardict-application-server.Po"; else rm -f
> ".deps/stardict-application-server.Tpo"; exit 1; fi
> skin.h:11: error: extra qualification '_Skin_cursor::' on member
> '_Skin_cursor'
> skin.h:12: error: extra qualification '_Skin_cursor::' on member
> '_Skin_cursor'
> make[4]: *** [stardict-application-server.o] Error 1
> make[4]: Leaving directory `/build/tbm/stardict-2.4.5/src'
--- ./src/skin.h~ 2006-03-16 18:59:33.000000000 +0000
+++ ./src/skin.h 2006-03-16 18:59:39.000000000 +0000
@@ -8,8 +8,8 @@
{
public:
GdkCursor *cursor;
- _Skin_cursor::_Skin_cursor();
- _Skin_cursor::~_Skin_cursor();
+ _Skin_cursor();
+ ~_Skin_cursor();
};
struct _Skin_pixbuf_1
--
Martin Michlmayr
http://www.cyrius.com/