Package: synaptic
Version: 0.57.8
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 synaptic_0.57.8 on bigsur by sbuild/mips 1.106
...
> if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/apt-pkg   -DXTHREADS 
> -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/X11R6/include 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
> -I/usr/include/libglade-2.0 -I/usr/include/libxml2  
> -DSYNAPTICLOCALEDIR=\""/usr/share/locale"\" 
> -DSYNAPTICSTATEDIR=\""/var/lib/synaptic"\"    -g -O2 -MT rpackage.o -MD -MP 
> -MF ".deps/rpackage.Tpo" \
>         -c -o rpackage.o `test -f 'rpackage.cc' || echo './'`rpackage.cc; \
>       then mv -f ".deps/rpackage.Tpo" ".deps/rpackage.Po"; \
>       else rm -f ".deps/rpackage.Tpo"; exit 1; \
>       fi
> rpackagefilter.h:133: error: extra qualification 'RPatternPackageFilter::' on 
> member 'filterVersion'
> make[3]: *** [rpackage.o] Error 1


--- ./common/rpackagefilter.h~  2006-03-19 23:44:23.000000000 +0000
+++ ./common/rpackagefilter.h   2006-03-19 23:44:28.000000000 +0000
@@ -130,7 +130,7 @@
    bool and_mode; // patterns are applied in "AND" mode if true, "OR" if false
 
    inline bool filterName(Pattern pat, RPackage *pkg);
-   inline bool RPatternPackageFilter::filterVersion(Pattern pat, RPackage 
*pkg);
+   inline bool filterVersion(Pattern pat, RPackage *pkg);
    inline bool filterDescription(Pattern pat, RPackage *pkg);
    inline bool filterMaintainer(Pattern pat, RPackage *pkg);
    inline bool filterDepends(Pattern pat, RPackage *pkg, 
--- ./common/rpackagelister.cc~ 2006-03-19 23:48:03.000000000 +0000
+++ ./common/rpackagelister.cc  2006-03-19 23:48:11.000000000 +0000
@@ -616,7 +616,7 @@
    bool _ascent;
    RPackageStatus _status;
  public:
-   supportedSortFunc::supportedSortFunc(bool ascent, RPackageStatus &s) 
+   supportedSortFunc(bool ascent, RPackageStatus &s) 
       : _ascent(ascent), _status(s) {};
    bool operator() (RPackage *x, RPackage *y) {
       if(_ascent)
--- ./gtk/rgpkgcdrom.h~ 2006-03-19 23:51:04.000000000 +0000
+++ ./gtk/rgpkgcdrom.h  2006-03-19 23:51:08.000000000 +0000
@@ -44,8 +44,8 @@
  public:
    RGCDScanner(RGMainWindow *main, RUserDialog *userDialog);
 
-   bool RGCDScanner::ChangeCdrom();
-   bool RGCDScanner::AskCdromName(string &defaultName);
+   bool ChangeCdrom();
+   bool AskCdromName(string &defaultName);
    void Update(string text, int current);
 
    bool run();

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