Integrate patches inside git repository
[hvlinux.git] / stage3 / patches / common / openjade-1.3.2-perl-fix.patch
diff --git a/stage3/patches/common/openjade-1.3.2-perl-fix.patch b/stage3/patches/common/openjade-1.3.2-perl-fix.patch
new file mode 100644 (file)
index 0000000..bbff5a2
--- /dev/null
@@ -0,0 +1,22 @@
+diff -ur openjade-1.3.2.orig/msggen.pl openjade-1.3.2.new/msggen.pl
+--- openjade-1.3.2.orig/msggen.pl      2002-10-20 17:47:23.000000000 -0400
++++ openjade-1.3.2.new/msggen.pl       2012-09-09 12:20:32.827758524 -0400
+@@ -4,6 +4,7 @@
+ # See the file COPYING for copying permission.
+ use POSIX;
++use Getopt::Std;
+ # Package and version.
+ $package = 'openjade';
+@@ -18,8 +19,8 @@
+ 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;