pentoo-overlay/net-fs/winexe/files/winexe-getoptstd.patch
2013-12-22 07:22:16 +00:00

23 lines
657 B
Diff

diff -Naurp winexe-9999/source4/heimdal/cf/make-proto.pl winexe-9999/source4/heimdal/cf/make-proto.pl
--- winexe-9999/source4/heimdal/cf/make-proto.pl 2013-10-21 10:53:59.000000000 +0200
+++ winexe-9999/source4/heimdal/cf/make-proto.pl 2013-10-21 10:55:34.000000000 +0200
@@ -1,8 +1,8 @@
# Make prototypes from .c files
# $Id$
-##use Getopt::Std;
-require 'getopts.pl';
+use Getopt::Std;
+#require 'getopts.pl';
my $comment = 0;
my $if_0 = 0;
@@ -12,7 +12,7 @@ my $debug = 0;
my $oproto = 1;
my $private_func_re = "^_";
-do Getopts('x:m:o:p:dqE:R:P:') || die "foo";
+do getopts('x:m:o:p:dqE:R:P:') || die "foo";
if($opt_d) {
$debug = 1;