diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-03-19 09:43:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-20 18:54:56 +0000 |
commit | 56f036852473edfa1aabe7d0b2448502583539e4 (patch) | |
tree | cadf6d027166e9b2340813847b6e889689a98372 /meta/recipes-devtools/automake | |
parent | d497d046f01071deb7ab5e408af6a1b912dfeba6 (diff) | |
download | poky-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')
-rw-r--r-- | meta/recipes-devtools/automake/automake/automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch | 60 | ||||
-rw-r--r-- | meta/recipes-devtools/automake/automake/python-libdir.patch | 16 | ||||
-rw-r--r-- | meta/recipes-devtools/automake/automake_1.16.3.bb (renamed from meta/recipes-devtools/automake/automake_1.16.2.bb) | 18 |
3 files changed, 16 insertions, 78 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 @@ | |||
1 | From 857c843d4bcf576467b505eb05a47f3e7d32caaa Mon Sep 17 00:00:00 2001 | ||
2 | From: Serhii Popovych <spopovyc@cisco.com> | ||
3 | Date: Wed, 10 Feb 2016 17:07:32 +0000 | ||
4 | Subject: [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 | |||
9 | However using /usr/bin/env perl -w from shebang line isn't | ||
10 | possible because it translates to something like | ||
11 | /usr/bin/env -w perl and env complains about illegal option. | ||
12 | |||
13 | To address this we can remove -w option from perl shebang | ||
14 | line and add "use warnings" statement. | ||
15 | |||
16 | Upstream-Status: Pending | ||
17 | Signed-off-by: Serhii Popovych <spopovyc@cisco.com> | ||
18 | Signed-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 | |||
25 | diff --git a/bin/aclocal.in b/bin/aclocal.in | ||
26 | index 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; | ||
43 | diff --git a/bin/automake.in b/bin/automake.in | ||
44 | index 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 | { | ||
diff --git a/meta/recipes-devtools/automake/automake/python-libdir.patch b/meta/recipes-devtools/automake/automake/python-libdir.patch index ee1f725f76..f319fc001b 100644 --- a/meta/recipes-devtools/automake/automake/python-libdir.patch +++ b/meta/recipes-devtools/automake/automake/python-libdir.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From a80dacd5124d0713cf2c986b28d736e78dc6b0ca Mon Sep 17 00:00:00 2001 | 1 | From 61bd143910001aaf610416d7ca56c52c0b081318 Mon Sep 17 00:00:00 2001 |
2 | From: Kumar Gala <galak@kernel.crashing.org> | 2 | From: Kumar Gala <galak@kernel.crashing.org> |
3 | Date: Thu, 11 Aug 2011 01:26:33 -0500 | 3 | Date: Thu, 11 Aug 2011 01:26:33 -0500 |
4 | Subject: [PATCH] automake: Update for python.m4 to respect libdir | 4 | Subject: [PATCH] automake: Update for python.m4 to respect libdir |
@@ -17,11 +17,11 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | |||
17 | 1 file changed, 7 insertions(+), 20 deletions(-) | 17 | 1 file changed, 7 insertions(+), 20 deletions(-) |
18 | 18 | ||
19 | diff --git a/m4/python.m4 b/m4/python.m4 | 19 | diff --git a/m4/python.m4 b/m4/python.m4 |
20 | index 63c0a0e..7bbd2d2 100644 | 20 | index b2302ba..dbc6954 100644 |
21 | --- a/m4/python.m4 | 21 | --- a/m4/python.m4 |
22 | +++ b/m4/python.m4 | 22 | +++ b/m4/python.m4 |
23 | @@ -94,12 +94,13 @@ AC_DEFUN([AM_PATH_PYTHON], | 23 | @@ -96,12 +96,13 @@ AC_DEFUN([AM_PATH_PYTHON], |
24 | [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`]) | 24 | [am_cv_python_version=`$PYTHON -c "import sys; print('%u.%u' % sys.version_info[[:2]])"`]) |
25 | AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) | 25 | AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) |
26 | 26 | ||
27 | - dnl Use the values of $prefix and $exec_prefix for the corresponding | 27 | - dnl Use the values of $prefix and $exec_prefix for the corresponding |
@@ -36,7 +36,7 @@ index 63c0a0e..7bbd2d2 100644 | |||
36 | AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}']) | 36 | AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}']) |
37 | 37 | ||
38 | dnl At times (like when building shared libraries) you may want | 38 | dnl At times (like when building shared libraries) you may want |
39 | @@ -144,14 +145,7 @@ except ImportError: | 39 | @@ -146,14 +147,7 @@ except ImportError: |
40 | else | 40 | else |
41 | am_py_prefix=$prefix | 41 | am_py_prefix=$prefix |
42 | fi | 42 | fi |
@@ -52,7 +52,7 @@ index 63c0a0e..7bbd2d2 100644 | |||
52 | case $am_cv_python_pythondir in | 52 | case $am_cv_python_pythondir in |
53 | $am_py_prefix*) | 53 | $am_py_prefix*) |
54 | am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` | 54 | am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` |
55 | @@ -161,7 +155,7 @@ sys.stdout.write(sitedir)"` | 55 | @@ -163,7 +157,7 @@ sys.stdout.write(sitedir)"` |
56 | case $am_py_prefix in | 56 | case $am_py_prefix in |
57 | /usr|/System*) ;; | 57 | /usr|/System*) ;; |
58 | *) | 58 | *) |
@@ -61,7 +61,7 @@ index 63c0a0e..7bbd2d2 100644 | |||
61 | ;; | 61 | ;; |
62 | esac | 62 | esac |
63 | ;; | 63 | ;; |
64 | @@ -186,14 +180,7 @@ sys.stdout.write(sitedir)"` | 64 | @@ -188,14 +182,7 @@ sys.stdout.write(sitedir)"` |
65 | else | 65 | else |
66 | am_py_exec_prefix=$exec_prefix | 66 | am_py_exec_prefix=$exec_prefix |
67 | fi | 67 | fi |
@@ -77,7 +77,7 @@ index 63c0a0e..7bbd2d2 100644 | |||
77 | case $am_cv_python_pyexecdir in | 77 | case $am_cv_python_pyexecdir in |
78 | $am_py_exec_prefix*) | 78 | $am_py_exec_prefix*) |
79 | am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` | 79 | am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` |
80 | @@ -203,7 +190,7 @@ sys.stdout.write(sitedir)"` | 80 | @@ -205,7 +192,7 @@ sys.stdout.write(sitedir)"` |
81 | case $am_py_exec_prefix in | 81 | case $am_py_exec_prefix in |
82 | /usr|/System*) ;; | 82 | /usr|/System*) ;; |
83 | *) | 83 | *) |
diff --git a/meta/recipes-devtools/automake/automake_1.16.2.bb b/meta/recipes-devtools/automake/automake_1.16.3.bb index 08ec034626..7dc59d9fe7 100644 --- a/meta/recipes-devtools/automake/automake_1.16.2.bb +++ b/meta/recipes-devtools/automake/automake_1.16.3.bb | |||
@@ -19,16 +19,14 @@ RDEPENDS_${PN} += "\ | |||
19 | RDEPENDS_${PN}_class-native = "autoconf-native hostperl-runtime-native" | 19 | RDEPENDS_${PN}_class-native = "autoconf-native hostperl-runtime-native" |
20 | 20 | ||
21 | SRC_URI += "file://python-libdir.patch \ | 21 | SRC_URI += "file://python-libdir.patch \ |
22 | file://buildtest.patch \ | 22 | file://buildtest.patch \ |
23 | file://performance.patch \ | 23 | file://performance.patch \ |
24 | file://new_rt_path_for_test-driver.patch \ | 24 | file://new_rt_path_for_test-driver.patch \ |
25 | file://automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch \ | 25 | file://0001-automake-Add-default-libtool_tag-to-cppasm.patch \ |
26 | file://0001-automake-Add-default-libtool_tag-to-cppasm.patch \ | 26 | file://0001-build-fix-race-in-parallel-builds.patch \ |
27 | file://0001-build-fix-race-in-parallel-builds.patch \ | 27 | " |
28 | " | 28 | |
29 | 29 | SRC_URI[sha256sum] = "ce010788b51f64511a1e9bb2a1ec626037c6d0e7ede32c1c103611b9d3cba65f" | |
30 | SRC_URI[md5sum] = "f1a14f2ab2b0fb861a011e1d94e589e0" | ||
31 | SRC_URI[sha256sum] = "b2f361094b410b4acbf4efba7337bdb786335ca09eb2518635a09fb7319ca5c1" | ||
32 | 30 | ||
33 | PERL = "${USRBINPATH}/perl" | 31 | PERL = "${USRBINPATH}/perl" |
34 | PERL_class-native = "${USRBINPATH}/env perl" | 32 | PERL_class-native = "${USRBINPATH}/env perl" |