]> git.pld-linux.org Git - packages/openjade.git/commitdiff
- replace legacy getopt.pl with Getopt::Std
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 1 Jan 2015 18:16:26 +0000 (18:16 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 1 Jan 2015 18:16:26 +0000 (18:16 +0000)
openjade.spec
perl-getopts.patch [new file with mode: 0644]

index c4bf9d99444ffd4433b6951e345b0f85c77e41e2..2dab44b9e6a16c392879fcc6a9b4a760b42b9b35 100644 (file)
@@ -13,6 +13,7 @@ Source0:      http://dl.sourceforge.net/openjade/%{name}-%{version}-%{_pre}.tar.gz
 Patch0:                %{name}-nls-from-1.4.patch
 Patch1:                %{name}-as-needed.patch
 Patch2:                %{name}-gcc4.patch
+Patch3:                perl-getopts.patch
 URL:           http://openjade.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -71,6 +72,7 @@ Biblioteki statyczne OpenJade.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 LDFLAGS=""; export LDFLAGS
diff --git a/perl-getopts.patch b/perl-getopts.patch
new file mode 100644 (file)
index 0000000..66a4027
--- /dev/null
@@ -0,0 +1,22 @@
+--- openjade-1.3.3-pre1/msggen.pl.orig 2015-01-01 18:14:45.187510209 +0000
++++ openjade-1.3.3-pre1/msggen.pl      2015-01-01 18:15:15.480842474 +0000
+@@ -4,6 +4,7 @@
+ # See the file COPYING for copying permission.
+ use POSIX;
++use Getopt::Std;
+ # Package and version.
+ $package = 'openjade';
+@@ -18,8 +19,9 @@
+ undef $opt_l;
+ undef $opt_p;
+ undef $opt_t;
+-do 'getopts.pl';
+-&Getopts('l:p:t:');
++#do 'getopts.pl';
++#&Getopts('l:p:t:');
++getopts('l:p:t:');
+ $module = $opt_l;
+ $pot_file = $opt_p;
This page took 0.094194 seconds and 4 git commands to generate.