Package: synaptic
Version: 0.57.11.1
Usertags: ftbfs-gcc-4.3
Tags: patch

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  A patch for this problem is
below.

> Automatic build of synaptic_0.57.11.1 on em64t by sbuild/amd64 0.53
...
> if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I../pixmaps 
> -DPACKAGE_DATA_DIR=\""/usr/share"\" 
> -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" 
> -DSYNAPTIC_GLADEDIR=\""/usr/share/synaptic/glade/"\" 
> -DSYNAPTIC_PIXMAPDIR=\""/usr/share/synaptic/pixmaps/"\" -DPNG_NO_MMX_CODE 
> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 
> -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 
> -I/usr/include/libglade-2.0 -I/usr/include/libxml2   -DPNG_NO_MMX_CODE 
> -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
> -I/usr/include/gtk-2.0 -I/usr/include/pango-1.0 -I/usr/lib/gtk-2.0/include 
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12        -g 
> -O2 -MT rgslideshow.o -MD -MP -MF ".deps/rgslideshow.Tpo" \
>         -c -o rgslideshow.o `test -f 'rgslideshow.cc' || echo 
> './'`rgslideshow.cc; \
>       then mv -f ".deps/rgslideshow.Tpo" ".deps/rgslideshow.Po"; \
>       else rm -f ".deps/rgslideshow.Tpo"; exit 1; \
>       fi
> rgslideshow.cc: In constructor 'RGSlideShow::RGSlideShow(GtkImage*, 
> std::string)':
> rgslideshow.cc:25: error: 'sort' was not declared in this scope
> make[3]: *** [rgslideshow.o] Error 1
> make[3]: Leaving directory `/build/tbm/synaptic-0.57.11.1/gtk'

--- gtk/rgslideshow.cc~ 2007-03-04 21:29:09.000000000 +0000
+++ gtk/rgslideshow.cc  2007-03-04 21:29:25.000000000 +0000
@@ -3,6 +3,7 @@
 
 #include <gtk/gtk.h>
 
+#include <algorithm>
 #include <string>
 #include <vector>
 

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