Package: libsvn-mirror-perl
Version: 0.68-1
Severity: wishlist
Tags: patch
Hi,
It seems there are stricter checks in recent SWIG bindings which will
cause the set_path call in SVN/Mirror/Ra.pm to fail because of the last
argument being 0 instead of undef.
This causes the test suite to fail and SVK is also unusable.
The attached patch fixes this, I wish it could be merged in the next
Debian package upload. Cc:ing the upstream author for inclusion of the
patch too. [ I've uploaded this NMU to the archive directly by mistake,
DEBDELAY=2 dupload libsvn-mirror-perl_0.68-1.1_i386.changes with a
missing -t delayed. ]
(This was also discussed in Debian bugs 356894 and 357194.)
Bye,
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages libsvn-mirror-perl depends on:
ii libclass-accessor-perl 0.22-1 Automated accessor generator
ii libfile-chdir-perl 0.06-1 A more sensible way to change dire
ii libsvn-core-perl 1.3.0-4 perl bindings for Subversion (aka.
ii libsvn-simple-perl 0.27-1 A simple interface for writing a d
ii libterm-readkey-perl 2.30-3 A perl module for simple terminal
ii libtimedate-perl 1.1600-5 Time and date functions for Perl
ii liburi-perl 1.35-2 Manipulates and accesses URI strin
ii perl 5.8.8-3 Larry Wall's Practical Extraction
libsvn-mirror-perl recommends no packages.
-- no debconf information
--
Loïc Minier <[EMAIL PROTECTED]>
Current Earth status: NOT DESTROYED
--- libsvn-mirror-perl-0.68/debian/changelog
+++ libsvn-mirror-perl-0.68/debian/changelog
@@ -1,3 +1,13 @@
+libsvn-mirror-perl (0.68-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Use undef instead of 0 to pass a NULL to svn_ra_reporter2_t.set_path's
+ pool argument which now fails in stricted SWIG bindings and rendered SVK
+ unusable. (Closes: #356894, #357194)
+ [lib/SVN/Mirror/Ra.pm]
+
+ -- Loic Minier <[EMAIL PROTECTED]> Thu, 23 Mar 2006 22:20:06 +0100
+
libsvn-mirror-perl (0.68-1) unstable; urgency=low
* New upstream version.
--- libsvn-mirror-perl-0.68.orig/lib/SVN/Mirror/Ra.pm
+++ libsvn-mirror-perl-0.68/lib/SVN/Mirror/Ra.pm
@@ -521,7 +521,7 @@
my $reporter =
$ra->do_update ($rev, $editor->{target} || '', 1, $editor);
my @lock = $SVN::Core::VERSION ge '1.2.0' ? (undef) : ();
- $reporter->set_path ('', $start, @lock, 0);
+ $reporter->set_path ('', $start, @lock, undef);
$reporter->finish_report ();
} else {