Gentoo Archives: gentoo-commits

From: "Torsten Veller (tove)" <tove@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-perl/Data-ShowTable/files: 3.3.patch 3.3-perlpath.patch
Date: Tue, 26 Aug 2008 13:48:05
Message-Id: E1KXytt-0006Kb-Bv@stork.gentoo.org
1 tove 08/08/26 13:48:01
2
3 Added: 3.3.patch
4 Removed: 3.3-perlpath.patch
5 Log:
6 Add another patch from Mandriva. Run tests.
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.26-tuxonice i686)
8
9 Revision Changes Path
10 1.1 dev-perl/Data-ShowTable/files/3.3.patch
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/Data-ShowTable/files/3.3.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/Data-ShowTable/files/3.3.patch?rev=1.1&content-type=text/plain
14
15 Index: 3.3.patch
16 ===================================================================
17 --- showtable
18 +++ showtable
19 @@ -1,4 +1,4 @@
20 -#!/usr/bin/perl5
21 +#!/usr/bin/perl
22 # showtable - read data and show it
23 #
24 # Copyright (C) 1996,1997 Alan K. Stebbens <aks@×××.com>
25 --- ShowTable.pm
26 +++ ShowTable.pm
27 @@ -721,7 +721,7 @@
28
29 S< >B<ShowHTMLTable> I<\@titles>, I<\@types>, I<\@widths>, I<\&row_sub>
30 [, I<\&fmt_sub> [, I<$max_width> [, I<\%URL_Keys> [, I<$no_escape>
31 -[, I<\@title_formats [, I<\@data_formats [, I<$table_attrs> ] ] ] ] ] ] ];
32 +[, I<\@title_formats> [, I<\@data_formats> [, I<$table_attrs> ] ] ] ] ] ] ];
33
34 The B<ShowHTMLTable> displays one or more rows of columns of data using
35 the HTML C<\<TABLE\>> feature. In addition to the usual parameter arguments
36 --- t/Test-Setup.pl
37 +++ t/Test-Setup.pl
38 @@ -19,7 +19,7 @@
39
40 sub talk { print STDERR @_; }
41
42 -sub start_tests {
43 +sub start_tests($) {
44 my $count = shift; # how many tests?
45 mkdir("$testdir/out",0755) unless -d "$testdir/out";
46 print "1..$count\n"; # tell harness how many tests
47 @@ -50,7 +50,7 @@
48
49 # run_test $num, \&sub;
50
51 -sub run_test {
52 +sub run_test($&) {
53 my $num = shift;
54 my $sub = shift;