openjade: Fix FTBFS.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Stefan Schantl 2016-10-04 07:50:04 +02:00 committed by Michael Tremer
parent 9ec0217536
commit 08c532e264
2 changed files with 22 additions and 1 deletions

View File

@ -5,7 +5,7 @@
name = openjade
version = 1.3.2
release = 3
release = 4
groups = Application/Text
url = http://openjade.sourceforge.net/

View File

@ -0,0 +1,21 @@
diff -urNp openjade-1.3.2-orig/msggen.pl openjade-1.3.2/msggen.pl
--- openjade-1.3.2-orig/msggen.pl 2002-10-20 23:47:23.000000000 +0200
+++ openjade-1.3.2/msggen.pl 2012-08-10 10:38:28.019081661 +0200
@@ -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 @@ $gen_c = 0;
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;