[Pkg-sql-ledger-commit] r208 - in trunk/debian: . patches
pkg-sql-ledger-commit-owner at lists.alioth.debian.org
pkg-sql-ledger-commit-owner at lists.alioth.debian.org
Tue Apr 21 07:59:10 UTC 2009
Author: hertzog
Date: 2009-04-21 07:59:10 +0000 (Tue, 21 Apr 2009)
New Revision: 208
Added:
trunk/debian/patches/50fixes-perl-5.10
Modified:
trunk/debian/changelog
trunk/debian/control
trunk/debian/patches/10makefiles
trunk/debian/patches/45crosslink
trunk/debian/patches/series
trunk/debian/rules
Log:
* New upstream release:
- added reminders; keep track of level
- added customernumber variable for generating document control numbers
- additional option to calculate check digits according to modulo 10
and 11
* Updated Standards-Version to 3.8.1 (no change required).
* Add patch debian/patches/50fixes-perl-5.10 to fix some errors triggered
only with perl 5.10. Closes: #503832
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2009-04-06 00:54:16 UTC (rev 207)
+++ trunk/debian/changelog 2009-04-21 07:59:10 UTC (rev 208)
@@ -1,10 +1,18 @@
-sql-ledger (2.8.23-2) UNRELEASED; urgency=low
+sql-ledger (2.8.24-1) unstable; urgency=low
+ * New upstream release:
+ - added reminders; keep track of level
+ - added customernumber variable for generating document control numbers
+ - additional option to calculate check digits according to modulo 10
+ and 11
* Add UTF-8 variants of most translations (auto-converted from the existing
ones).
* Add recode to Build-Depends since debian/create_utf8_locales.sh need it.
+ * Updated Standards-Version to 3.8.1 (no change required).
+ * Add patch debian/patches/50fixes-perl-5.10 to fix some errors triggered
+ only with perl 5.10. Closes: #503832
- -- Raphael Hertzog <hertzog at debian.org> Fri, 20 Feb 2009 16:04:08 +0100
+ -- Raphael Hertzog <hertzog at debian.org> Tue, 21 Apr 2009 08:47:47 +0200
sql-ledger (2.8.23-1) unstable; urgency=low
Modified: trunk/debian/control
===================================================================
--- trunk/debian/control 2009-04-06 00:54:16 UTC (rev 207)
+++ trunk/debian/control 2009-04-21 07:59:10 UTC (rev 208)
@@ -7,7 +7,7 @@
Homepage: http://www.sql-ledger.com
Vcs-Svn: svn://svn.debian.org/pkg-sql-ledger/trunk
Vcs-Browser: http://svn.debian.org/wsvn/pkg-sql-ledger/trunk/?op=log
-Standards-Version: 3.8.0
+Standards-Version: 3.8.1
Package: sql-ledger
Architecture: all
Property changes on: trunk/debian/patches/10makefiles
___________________________________________________________________
Deleted: svn:executable
- *
Property changes on: trunk/debian/patches/45crosslink
___________________________________________________________________
Deleted: svn:executable
- *
Added: trunk/debian/patches/50fixes-perl-5.10
===================================================================
--- trunk/debian/patches/50fixes-perl-5.10 (rev 0)
+++ trunk/debian/patches/50fixes-perl-5.10 2009-04-21 07:59:10 UTC (rev 208)
@@ -0,0 +1,48 @@
+Description: Fix for perl 5.10
+ This change should fix the error "panic: attempt to copy freed scalar
+ 83e6ee0 to 8233bf0 at SL/Form.pm line 984." that many people have been
+ experiencing while trying to print some documents. It's specific to perl
+ 5.10.
+Author: Dieter Simader
+Forwarded-Upstream: yes (patch coming from upstream)
+
+--- a/SL/Form.pm 2009-03-26 23:37:32.000000000 +0100
++++ b/SL/Form.pm 2009-04-21 08:44:19.000000000 +0200
+@@ -653,10 +653,10 @@
+ }
+
+ # display contents of $self->{number}[] array
+- for my $i (0 .. $#{ $self->{$var} }) {
++ for my $j (0 .. $#{ $self->{$var} }) {
+
+ if ($var =~ /^(part|service)$/) {
+- next if $self->{$var}[$i] eq 'NULL';
++ next if $self->{$var}[$j] eq 'NULL';
+ }
+
+ # Try to detect whether a manual page break is necessary
+@@ -666,8 +666,8 @@
+ if ($chars_per_line && defined $self->{$var}) {
+ my $line;
+ my $lines = 0;
+- my $item = $self->{description}[$i];
+- $item .= "\n".$self->{itemnotes}[$i] if $self->{itemnotes}[$i];
++ my $item = $self->{description}[$j];
++ $item .= "\n".$self->{itemnotes}[$j] if $self->{itemnotes}[$j];
+
+ foreach $line (split /\r?\n/, $item) {
+ $lines++;
+@@ -706,11 +706,11 @@
+ }
+ $current_line += $lines;
+ }
+- $sum += $self->parse_amount($myconfig, $self->{linetotal}[$i]);
++ $sum += $self->parse_amount($myconfig, $self->{linetotal}[$j]);
+ }
+
+ # don't parse par, we need it for each line
+- print OUT $self->format_line($par, $i);
++ print OUT $self->format_line($par, $j);
+
+ }
+ next;
Modified: trunk/debian/patches/series
===================================================================
--- trunk/debian/patches/series 2009-04-06 00:54:16 UTC (rev 207)
+++ trunk/debian/patches/series 2009-04-21 07:59:10 UTC (rev 208)
@@ -1,3 +1,4 @@
# List of patches to apply.
10makefiles
45crosslink
+50fixes-perl-5.10
Modified: trunk/debian/rules
===================================================================
--- trunk/debian/rules 2009-04-06 00:54:16 UTC (rev 207)
+++ trunk/debian/rules 2009-04-21 07:59:10 UTC (rev 208)
@@ -16,6 +16,7 @@
sql-ledger.conf.default > sql-ledger.conf
cd locale && sh ../debian/create_utf8_locales.sh
dh install
+ rm -f debian/sql-ledger/usr/share/sql-ledger/bin/mozilla/.rp.pl.swp
# Build architecture-independent files here.
binary-indep: install
More information about the Pkg-sql-ledger-commit
mailing list