Blame SOURCES/openjade-getoptperl.patch

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