Package: gnome-apt
Version: 0.4.9-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 attached.


> Automatic build of gnome-apt_0.4.9-1 on em64t by sbuild/amd64 1.106
...
>  g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -pthread -DORBIT2=1 
> -I/usr/include/gnome-vfs-2.0 -I/usr/include/gnome-vfs-module-2.0 
> -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 
> -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 
> -DGNOME_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED 
> -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED 
> -DGLIB_DISABLE_DEPRECATED -g -O2 -Wall -Wno-unused -g -O2 
> -DG_DISABLE_CHECKS=1 -MT libsoftware_la-cache.lo -MD -MP -MF 
> .deps/libsoftware_la-cache.Tpo -c cache.cc  -fPIC -DPIC -o 
> .libs/libsoftware_la-cache.o
> cache.h:71: error: extra qualification 'GAptCache::' on member 'pkgParser'
> make[4]: *** [libsoftware_la-cache.lo] Error 1

--- ./src/cache.h~      2006-03-22 02:23:14.000000000 +0000
+++ ./src/cache.h       2006-03-22 02:23:19.000000000 +0000
@@ -68,7 +68,7 @@
        static const char* statusText (PkgStatusType);
 
        const char* priorityString (pkgCache::PkgIterator&, 
pkgCache::State::VerPriority*);
-       pkgRecords::Parser* GAptCache::pkgParser (pkgCache::PkgIterator&);
+       pkgRecords::Parser* pkgParser (pkgCache::PkgIterator&);
 
 private:
        aptitude_state* package_states;
--- ./src/filterbar.h~  2006-03-22 02:25:44.000000000 +0000
+++ ./src/filterbar.h   2006-03-22 02:26:08.000000000 +0000
@@ -32,6 +32,16 @@
 
 #include "filter.h"
 
+void sections_toggled(GtkWidget* menuitem, gpointer data);
+void priority_toggled(GtkWidget* menuitem, gpointer data);
+void status_toggled  (GtkWidget* menuitem, gpointer data);
+void priority_reverse(GtkWidget* menuitem, gpointer data);
+void priority_clear  (GtkWidget* menuitem, gpointer data);
+void status_reverse  (GtkWidget* menuitem, gpointer data);
+void status_clear    (GtkWidget* menuitem, gpointer data);
+void all_reverse     (GtkWidget* menuitem, gpointer data);
+void all_clear       (GtkWidget* menuitem, gpointer data);
+  
 class GAptFilterBar : public Filter::View {
 public:
   GAptFilterBar(Filter* filter);

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