134b888ffa5efd3aa460c2c759344c3914cd098d
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / heimdal / 0002-use-Getopt-Std.patch
1 From 6080c0b229c6e332d7dd609d9435ac9baeeea443 Mon Sep 17 00:00:00 2001
2 From: Gustavo Zacarias <gustavo@zacarias.com.ar>
3 Date: Thu, 30 Jan 2014 16:33:02 -0300
4 Subject: [PATCH] roken-h-process: use Getopt::Std, getopts.pl is deprecated
5
6 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
7 ---
8  cf/roken-h-process.pl | 4 ++--
9  1 file changed, 2 insertions(+), 2 deletions(-)
10
11 diff --git a/cf/roken-h-process.pl b/cf/roken-h-process.pl
12 index 153a35c..72d3bd3 100644
13 --- a/cf/roken-h-process.pl
14 +++ b/cf/roken-h-process.pl
15 @@ -1,10 +1,10 @@
16  #!/usr/bin/perl
17  
18 -require 'getopts.pl';
19 +use Getopt::Std;
20  
21  my $debug = 0;
22  
23 -Getopts('dc:p:o:') || die "foo";
24 +getopts('dc:p:o:') || die "foo";
25  
26  if ($opt_d) {
27      $debug = 1;
28 -- 
29 1.8.3.2
30