]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/commitdiff
openjade: Fix FTBFS.
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 4 Oct 2016 05:50:04 +0000 (07:50 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 4 Oct 2016 11:09:14 +0000 (12:09 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
openjade/openjade.nm
openjade/patches/openjade-getoptperl.patch [new file with mode: 0644]

index 1e4fb16f129ccb85e84cacdbd149e464b15f0ae3..d78fb31ecc006d197d861092b6a2f7bcbdf0f7fd 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = openjade
 version    = 1.3.2
-release    = 3
+release    = 4
 
 groups     = Application/Text
 url        = http://openjade.sourceforge.net/
diff --git a/openjade/patches/openjade-getoptperl.patch b/openjade/patches/openjade-getoptperl.patch
new file mode 100644 (file)
index 0000000..0d835ea
--- /dev/null
@@ -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;