summaryrefslogtreecommitdiffstats
path: root/package/heimdal/heimdal-0002-use-Getopt-Std.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-03-02 09:42:16 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-03-02 15:20:31 +0100
commit56258f491bf459cbdb2cee1db3267030340755f0 (patch)
tree154041f4e970479f0e82932874ca36e9fd55a91e /package/heimdal/heimdal-0002-use-Getopt-Std.patch
parent88680c5bf9110fafd0f76f44cc615b189029374b (diff)
downloadbuildroot-56258f491bf459cbdb2cee1db3267030340755f0.tar.gz
buildroot-56258f491bf459cbdb2cee1db3267030340755f0.zip
heimdal: new package
host-heimdal is required for samba 4.1.x since it can't (yet) link with an external heimdal implementation and can't cross-compile the internal tools. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/heimdal/heimdal-0002-use-Getopt-Std.patch')
-rw-r--r--package/heimdal/heimdal-0002-use-Getopt-Std.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/heimdal/heimdal-0002-use-Getopt-Std.patch b/package/heimdal/heimdal-0002-use-Getopt-Std.patch
new file mode 100644
index 0000000000..134b888ffa
--- /dev/null
+++ b/package/heimdal/heimdal-0002-use-Getopt-Std.patch
@@ -0,0 +1,30 @@
+From 6080c0b229c6e332d7dd609d9435ac9baeeea443 Mon Sep 17 00:00:00 2001
+From: Gustavo Zacarias <gustavo@zacarias.com.ar>
+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 <gustavo@zacarias.com.ar>
+---
+ 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
+
OpenPOWER on IntegriCloud