X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fheimdal%2F0002-use-Getopt-Std.patch;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fheimdal%2F0002-use-Getopt-Std.patch;h=134b888ffa5efd3aa460c2c759344c3914cd098d;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/heimdal/0002-use-Getopt-Std.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/heimdal/0002-use-Getopt-Std.patch new file mode 100644 index 0000000..134b888 --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/heimdal/0002-use-Getopt-Std.patch @@ -0,0 +1,30 @@ +From 6080c0b229c6e332d7dd609d9435ac9baeeea443 Mon Sep 17 00:00:00 2001 +From: Gustavo Zacarias +Date: Thu, 30 Jan 2014 16:33:02 -0300 +Subject: [PATCH] roken-h-process: use Getopt::Std, getopts.pl is deprecated + +Signed-off-by: Gustavo Zacarias +--- + cf/roken-h-process.pl | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/cf/roken-h-process.pl b/cf/roken-h-process.pl +index 153a35c..72d3bd3 100644 +--- a/cf/roken-h-process.pl ++++ b/cf/roken-h-process.pl +@@ -1,10 +1,10 @@ + #!/usr/bin/perl + +-require 'getopts.pl'; ++use Getopt::Std; + + my $debug = 0; + +-Getopts('dc:p:o:') || die "foo"; ++getopts('dc:p:o:') || die "foo"; + + if ($opt_d) { + $debug = 1; +-- +1.8.3.2 +