Package: pysvn
Version: 1.4.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 pysvn_1.4.1-1 on bigsur by sbuild/mips 1.106
...
> g++ -c -Wall -fPIC -fexceptions -frtti -I/usr/include/python2.3
> -I/usr/share/python2.3/CXX -I/usr/include/subversion-1 -I/usr/include/apr-0
> -I. -DNDEBUG -o pysvn.o pysvn.cpp
> pysvn_svnenv.hpp:257: error: extra qualification 'SvnContext::' on member
> 'handlerLogMsg2'
> pysvn_svnenv.hpp:276: error: extra qualification 'SvnContext::' on member
> 'handlerProgress'
> pysvn_svnenv.hpp:285: error: extra qualification 'SvnContext::' on member
> 'handlerNotify2'
> pysvn_svnenv.hpp:302: error: extra qualification 'SvnContext::' on member
> 'handlerCancel'
> pysvn.hpp:298: error: extra qualification 'pysvn_revision::' on member 'repr'
> make[1]: *** [pysvn.o] Error 1
--- ./Source/pysvn_svnenv.hpp~ 2006-03-20 14:15:56.000000000 +0000
+++ ./Source/pysvn_svnenv.hpp 2006-03-20 14:16:16.000000000 +0000
@@ -247,7 +247,7 @@
private:
#ifdef PYSVN_HAS_CONTEXT_LOG_MSG2
- static svn_error_t *SvnContext::handlerLogMsg2
+ static svn_error_t *handlerLogMsg2
(
const char **log_msg,
const char **tmp_file,
@@ -256,7 +256,7 @@
apr_pool_t *pool
);
#else
- static svn_error_t *SvnContext::handlerLogMsg
+ static svn_error_t *handlerLogMsg
(
const char **log_msg,
const char **tmp_file,
@@ -267,7 +267,7 @@
#endif
#ifdef PYSVN_HAS_CONTEXT_PROGRESS
- static void SvnContext::handlerProgress
+ static void handlerProgress
(
apr_off_t progress,
apr_off_t total,
@@ -277,14 +277,14 @@
#endif
#ifdef PYSVN_HAS_CONTEXT_NOTIFY2
- static void SvnContext::handlerNotify2
+ static void handlerNotify2
(
void * baton,
const svn_wc_notify_t *notify,
apr_pool_t *pool
);
#else
- static void SvnContext::handlerNotify
+ static void handlerNotify
(
void * baton,
const char *path,
@@ -296,7 +296,7 @@
svn_revnum_t revision
);
#endif
- static svn_error_t *SvnContext::handlerCancel
+ static svn_error_t *handlerCancel
(
void * baton
);
--- ./Source/pysvn.hpp~ 2006-03-20 14:16:54.000000000 +0000
+++ ./Source/pysvn.hpp 2006-03-20 14:17:02.000000000 +0000
@@ -295,7 +295,7 @@
virtual Py::Object getattr( const char *name );
virtual int setattr( const char *name, const Py::Object &value );
- virtual Py::Object pysvn_revision::repr();
+ virtual Py::Object repr();
const svn_opt_revision_t &getSvnRevision() const;
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]