diff options
author | Mike Gilbert <floppym@gentoo.org> | 2012-06-07 14:50:19 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2012-06-07 14:50:19 +0000 |
commit | 6a49625de334923db1971fc77e991541a9ac3dfc (patch) | |
tree | b8068bb4c91d45a87230a1fc1771305f987f1720 /app-text | |
parent | Stable for HPPA (bug #419803). (diff) | |
download | gentoo-2-6a49625de334923db1971fc77e991541a9ac3dfc.tar.gz gentoo-2-6a49625de334923db1971fc77e991541a9ac3dfc.tar.bz2 gentoo-2-6a49625de334923db1971fc77e991541a9ac3dfc.zip |
Update msggen.pl to use Getopt::Std, bug 420083 by tove.
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/openjade/ChangeLog | 6 | ||||
-rw-r--r-- | app-text/openjade/files/openjade-1.3.2-msggen.pl.patch | 27 |
2 files changed, 29 insertions, 4 deletions
diff --git a/app-text/openjade/ChangeLog b/app-text/openjade/ChangeLog index 7801030ed949..b97cad1195cd 100644 --- a/app-text/openjade/ChangeLog +++ b/app-text/openjade/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/openjade # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/openjade/ChangeLog,v 1.67 2012/04/26 22:37:01 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/openjade/ChangeLog,v 1.68 2012/06/07 14:50:19 floppym Exp $ + + 07 Jun 2012; Mike Gilbert <floppym@gentoo.org> + files/openjade-1.3.2-msggen.pl.patch: + Update msggen.pl to use Getopt::Std, bug 420083 by tove. 26 Apr 2012; Alexis Ballier <aballier@gentoo.org> openjade-1.3.2-r4.ebuild: keyword ~amd64-fbsd diff --git a/app-text/openjade/files/openjade-1.3.2-msggen.pl.patch b/app-text/openjade/files/openjade-1.3.2-msggen.pl.patch index e9fc485be2ad..1afe68b800e9 100644 --- a/app-text/openjade/files/openjade-1.3.2-msggen.pl.patch +++ b/app-text/openjade/files/openjade-1.3.2-msggen.pl.patch @@ -1,6 +1,27 @@ ---- msggen.pl 2003-02-19 10:57:37.000000000 -0800 -+++ msggen.pl 2003-02-19 10:58:06.000000000 -0800 -@@ -61,7 +61,7 @@ +Use Getopt::Std in place of getopts.pl. +https://bugs.gentoo.org/show_bug.cgi?id=420083 + +--- a/msggen.pl ++++ b/msggen.pl +@@ -4,6 +4,7 @@ + # See the file COPYING for copying permission. + + use POSIX; ++use Getopt::Std; + + # Package and version. + $package = 'openjade'; +@@ -18,8 +19,7 @@ + undef $opt_l; + undef $opt_p; + undef $opt_t; +-do 'getopts.pl'; +-&Getopts('l:p:t:'); ++getopts('l:p:t:'); + $module = $opt_l; + $pot_file = $opt_p; + +@@ -72,7 +72,7 @@ else { $field[0] =~ /^[IWQXE][0-9]$/ || &error("invalid first field");; $type[$num] = substr($field[0], 0, 1); |