More build fixes...
authorJelmer Vernooij <jelmer@samba.org>
Tue, 1 Jul 2008 21:19:01 +0000 (23:19 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 1 Jul 2008 21:19:01 +0000 (23:19 +0200)
1  2 
remote.py
util.h

diff --cc remote.py
index 96f509e298b0d583361d344cb6449fc6bbaeff08,96f509e298b0d583361d344cb6449fc6bbaeff08..8081fa67243a0d86aef567638cc4237d137faccf
+++ b/remote.py
@@@ -149,7 -149,7 +149,7 @@@ class SvnRemoteAccess(BzrDir)
          elif repos.get_latest_revnum() > 0:
              # Bail out if there are already revisions in this repository
              raise AlreadyBranchError(self.root_transport.base)
--        branch = SvnBranch(repos.base, self.branch_path)
++        branch = SvnBranch(repos, self.branch_path)
          branch.bzrdir = self
          return branch
  
diff --cc util.h
index ab140accd9fb0335aa1c45d6edfda6db6ff0b0b8,ab140accd9fb0335aa1c45d6edfda6db6ff0b0b8..468f64d4904934fed969728aed88684b184aa22f
--- 1/util.h
--- 2/util.h
+++ b/util.h
  #ifndef _BZR_SVN_UTIL_H_
  #define _BZR_SVN_UTIL_H_
  
++/* There's no Py_ssize_t in 2.4, apparently */
++#if PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION < 5
++typedef int Py_ssize_t;
++#endif
++
  #pragma GCC visibility push(hidden)
  
  __attribute__((warn_unused_result)) apr_pool_t *Pool(apr_pool_t *parent);