1 |
floppym 12/06/07 14:50:19 |
2 |
|
3 |
Modified: openjade-1.3.2-msggen.pl.patch |
4 |
Log: |
5 |
Update msggen.pl to use Getopt::Std, bug 420083 by tove. |
6 |
|
7 |
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 app-text/openjade/files/openjade-1.3.2-msggen.pl.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/openjade/files/openjade-1.3.2-msggen.pl.patch?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/openjade/files/openjade-1.3.2-msggen.pl.patch?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/openjade/files/openjade-1.3.2-msggen.pl.patch?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: openjade-1.3.2-msggen.pl.patch |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-text/openjade/files/openjade-1.3.2-msggen.pl.patch,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- openjade-1.3.2-msggen.pl.patch 28 Apr 2003 01:10:16 -0000 1.1 |
23 |
+++ openjade-1.3.2-msggen.pl.patch 7 Jun 2012 14:50:19 -0000 1.2 |
24 |
@@ -1,6 +1,27 @@ |
25 |
---- msggen.pl 2003-02-19 10:57:37.000000000 -0800 |
26 |
-+++ msggen.pl 2003-02-19 10:58:06.000000000 -0800 |
27 |
-@@ -61,7 +61,7 @@ |
28 |
+Use Getopt::Std in place of getopts.pl. |
29 |
+https://bugs.gentoo.org/show_bug.cgi?id=420083 |
30 |
+ |
31 |
+--- a/msggen.pl |
32 |
++++ b/msggen.pl |
33 |
+@@ -4,6 +4,7 @@ |
34 |
+ # See the file COPYING for copying permission. |
35 |
+ |
36 |
+ use POSIX; |
37 |
++use Getopt::Std; |
38 |
+ |
39 |
+ # Package and version. |
40 |
+ $package = 'openjade'; |
41 |
+@@ -18,8 +19,7 @@ |
42 |
+ undef $opt_l; |
43 |
+ undef $opt_p; |
44 |
+ undef $opt_t; |
45 |
+-do 'getopts.pl'; |
46 |
+-&Getopts('l:p:t:'); |
47 |
++getopts('l:p:t:'); |
48 |
+ $module = $opt_l; |
49 |
+ $pot_file = $opt_p; |
50 |
+ |
51 |
+@@ -72,7 +72,7 @@ |
52 |
else { |
53 |
$field[0] =~ /^[IWQXE][0-9]$/ || &error("invalid first field");; |
54 |
$type[$num] = substr($field[0], 0, 1); |