summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/automake/automake/automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-03-19 09:43:57 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-03-20 18:54:56 +0000
commit56f036852473edfa1aabe7d0b2448502583539e4 (patch)
treecadf6d027166e9b2340813847b6e889689a98372 /meta/recipes-devtools/automake/automake/automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch
parentd497d046f01071deb7ab5e408af6a1b912dfeba6 (diff)
downloadpoky-56f036852473edfa1aabe7d0b2448502583539e4.tar.gz
automake: update 1.16.2 - > 1.16.3
Drop automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch; upstream has fixed the issue. (From OE-Core rev: 88778afc693d824cc637011e91d4727f8e8c2de4) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/automake/automake/automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch')
-rw-r--r--meta/recipes-devtools/automake/automake/automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch60
1 files changed, 0 insertions, 60 deletions
diff --git a/meta/recipes-devtools/automake/automake/automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch b/meta/recipes-devtools/automake/automake/automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch
deleted file mode 100644
index 0e84c4bf86..0000000000
--- a/meta/recipes-devtools/automake/automake/automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch
+++ /dev/null
@@ -1,60 +0,0 @@
1From 857c843d4bcf576467b505eb05a47f3e7d32caaa Mon Sep 17 00:00:00 2001
2From: Serhii Popovych <spopovyc@cisco.com>
3Date: Wed, 10 Feb 2016 17:07:32 +0000
4Subject: [PATCH] perl: Replace -w option in shebangs with modern "use
5 warnings" In some builds we might provide ac_cv_path_PERL as /usr/bin/env
6 perl to use newer version of the perl from users PATH rather than older from
7 standard system path.
8
9However using /usr/bin/env perl -w from shebang line isn't
10possible because it translates to something like
11/usr/bin/env -w perl and env complains about illegal option.
12
13To address this we can remove -w option from perl shebang
14line and add "use warnings" statement.
15
16Upstream-Status: Pending
17Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
18Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
19
20---
21 bin/aclocal.in | 3 ++-
22 bin/automake.in | 3 ++-
23 2 files changed, 4 insertions(+), 2 deletions(-)
24
25diff --git a/bin/aclocal.in b/bin/aclocal.in
26index 9a20325..bd185d4 100644
27--- a/bin/aclocal.in
28+++ b/bin/aclocal.in
29@@ -1,4 +1,4 @@
30-#!@PERL@ -w
31+#!@PERL@
32 # aclocal - create aclocal.m4 by scanning configure.ac -*- perl -*-
33 # @configure_input@
34 # Copyright (C) 1996-2020 Free Software Foundation, Inc.
35@@ -26,6 +26,7 @@ BEGIN
36 }
37
38 use strict;
39+use warnings;
40
41 use Automake::Config;
42 use Automake::General;
43diff --git a/bin/automake.in b/bin/automake.in
44index 5ed404a..d387b8e 100644
45--- a/bin/automake.in
46+++ b/bin/automake.in
47@@ -1,4 +1,4 @@
48-#!@PERL@ -w
49+#!@PERL@
50 # automake - create Makefile.in from Makefile.am -*- perl -*-
51 # @configure_input@
52 # Copyright (C) 1994-2020 Free Software Foundation, Inc.
53@@ -23,6 +23,7 @@
54 package Automake;
55
56 use strict;
57+use warnings;
58
59 BEGIN
60 {