osloup / rpms / openjade

Forked from rpms/openjade a year ago
Clone

Blame SOURCES/openjade-getoptperl.patch

054817
diff -urNp openjade-1.3.2-orig/msggen.pl openjade-1.3.2/msggen.pl
054817
--- openjade-1.3.2-orig/msggen.pl	2002-10-20 23:47:23.000000000 +0200
054817
+++ openjade-1.3.2/msggen.pl	2012-08-10 10:38:28.019081661 +0200
054817
@@ -4,6 +4,7 @@
054817
 # See the file COPYING for copying permission.
054817
 
054817
 use POSIX;
054817
+use Getopt::Std;
054817
 
054817
 # Package and version.
054817
 $package = 'openjade';
054817
@@ -18,8 +19,7 @@ $gen_c = 0;
054817
 undef $opt_l;
054817
 undef $opt_p;
054817
 undef $opt_t;
054817
-do 'getopts.pl';
054817
-&Getopts('l:p:t:');
054817
+getopts('l:p:t:');
054817
 $module = $opt_l;
054817
 $pot_file = $opt_p;
054817