Package: rapidsvn
Version: 0.9.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 rapidsvn_0.9.1-1 on bigsur by sbuild/mips 1.106
...
> if mips-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" 
> -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
> -DPACKAGE=\"rapidsvn\" -DVERSION=\"0.9.1\" -DSTDC_HEADERS=1 
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1  -I. -I.   -Wall -g -fexceptions 
> -I/build/tbm/rapidsvn-0.9.1/include   -DLINUX=2 -D_REENTRANT 
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE  
> -I/usr/include/apr-0   -I/usr/include/apr-0 -I/usr/include 
> -I/usr/include/subversion-1 -I/usr/lib/wx/include/gtk2-unicode-release-2.6 
> -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 
> -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA  -g -O2 -Wall -g 
> -fexceptions -I/usr/lib/wx/include/gtk2-unicode-release-2.6 
> -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 
> -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA   -MT action.o -MD -MP 
> -MF ".deps/action.Tpo" -c -o action.o action.cpp; \
>       then mv -f ".deps/action.Tpo" ".deps/action.Po"; else rm -f 
> ".deps/action.Tpo"; exit 1; fi
> /usr/include/wx-2.6/wx/hashmap.h: In member function 
> 'wxLongToLongHashMap_wxImplementation_HashTable::Node** 
> wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long int&) 
> const':
> /usr/include/wx-2.6/wx/hashmap.h:684: warning: dereferencing type-punned 
> pointer will break strict-aliasing rules
> /usr/include/wx-2.6/wx/gdicmn.h: In member function 
> 'wxStringToColourHashMap_wxImplementation_HashTable::Node** 
> wxStringToColourHashMap_wxImplementation_HashTable::GetNodePtr(const 
> wxString&) const':
> /usr/include/wx-2.6/wx/gdicmn.h:476: warning: dereferencing type-punned 
> pointer will break strict-aliasing rules
> /usr/include/wx-2.6/wx/image.h: In member function 
> 'wxImageHistogramBase_wxImplementation_HashTable::Node** 
> wxImageHistogramBase_wxImplementation_HashTable::GetNodePtr(const long 
> unsigned int&) const':
> /usr/include/wx-2.6/wx/image.h:123: warning: dereferencing type-punned 
> pointer will break strict-aliasing rules
> action.hpp: At global scope:
> action.hpp:305: error: extra qualification 'Action::' on member 
> 'GetPathAsTempFile'
> make[3]: *** [action.o] Error 1


--- ./src/action.hpp~   2006-03-20 14:17:31.000000000 +0000
+++ ./src/action.hpp    2006-03-20 14:17:44.000000000 +0000
@@ -300,7 +300,7 @@
     * @return temporary filename
     */
   svn::Path
-  Action::GetPathAsTempFile (
+  GetPathAsTempFile (
     const svn::Path & path,
     const svn::Revision & revision = svn::Revision::HEAD);
 
--- ./src/rapidsvn_frame.hpp~   2006-03-20 14:20:00.000000000 +0000
+++ ./src/rapidsvn_frame.hpp    2006-03-20 14:20:06.000000000 +0000
@@ -161,7 +161,7 @@
 
   // Enable/disable action menu items
   bool
-  RapidSvnFrame::ValidateIDActionFlags (int id, unsigned int 
selectionActionFlags);
+  ValidateIDActionFlags (int id, unsigned int selectionActionFlags);
   void OnUpdateCommand (wxUpdateUIEvent & updateUIEvent);
 
   const svn::Targets
--- ./src/preferences_dlg.cpp~  2006-03-20 14:24:05.000000000 +0000
+++ ./src/preferences_dlg.cpp   2006-03-20 14:24:16.000000000 +0000
@@ -95,7 +95,7 @@
 {
 public:
 
-  ProgramsPanel::ProgramsPanel (wxWindow* parent, Preferences * prefs)
+  ProgramsPanel (wxWindow* parent, Preferences * prefs)
     : wxPanel (parent), m_prefs (prefs)
   {
     InitializeData ();

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

Reply via email to