diff options
author | zangrc <zangrc.fnst@cn.fujitsu.com> | 2020-07-29 09:31:22 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-08-01 19:57:49 +0100 |
commit | 4c573284789c8cb68ecc715a63f6b0cf3e4d92c8 (patch) | |
tree | 162da0cfeb56d4233e7f61e116d7279f2d572d64 /meta/recipes-devtools | |
parent | 20e9df57217c5f37817653d2c3d492f2d4d37623 (diff) | |
download | poky-4c573284789c8cb68ecc715a63f6b0cf3e4d92c8.tar.gz |
flex: Refresh patch
The patch changes the same file twice which causes issues with some patch
tools (not used in YP by default). Refresh the patch to clean this up
anyway.
RP: Tweak commit message
(From OE-Core rev: cb6e65f8196fd6587c75c3ab2cf060c00a074ec6)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/flex/flex/check-funcs.patch | 36 |
1 files changed, 12 insertions, 24 deletions
diff --git a/meta/recipes-devtools/flex/flex/check-funcs.patch b/meta/recipes-devtools/flex/flex/check-funcs.patch index 037ca81fdc..762275e7f8 100644 --- a/meta/recipes-devtools/flex/flex/check-funcs.patch +++ b/meta/recipes-devtools/flex/flex/check-funcs.patch | |||
@@ -1,10 +1,4 @@ | |||
1 | Upstream-Status: Backport | 1 | Subject: build: Move dnl comments out of AC_CHECK_FUNCS |
2 | Signed-off-by: Ross Burton <ross.burton@arm.com> | ||
3 | |||
4 | From c42de062bbdc7c31d7181c10a74202d493280ada Mon Sep 17 00:00:00 2001 | ||
5 | From: Explorer09 <explorer09@gmail.com> | ||
6 | Date: Tue, 27 Feb 2018 09:10:12 +0800 | ||
7 | Subject: [PATCH] build: Move dnl comments out of AC_CHECK_FUNCS | ||
8 | 2 | ||
9 | Due to a bug, autoheader (2.69) will treat M4 dnl comments in a quoted | 3 | Due to a bug, autoheader (2.69) will treat M4 dnl comments in a quoted |
10 | argument of AC_CHECK_FUNCS as function tokens and generate a lot of | 4 | argument of AC_CHECK_FUNCS as function tokens and generate a lot of |
@@ -20,28 +14,20 @@ I have reported the autoheader bug here: | |||
20 | 14 | ||
21 | As a workaround, let's move comments out of AC_CHECK_FUNCS. | 15 | As a workaround, let's move comments out of AC_CHECK_FUNCS. |
22 | 16 | ||
17 | Upstream-Status: Backport | ||
18 | Signed-off-by: Ross Burton <ross.burton@arm.com> | ||
19 | |||
23 | Signed-off-by: Kang-Che Sung <explorer09@gmail.com> | 20 | Signed-off-by: Kang-Che Sung <explorer09@gmail.com> |
21 | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | ||
24 | --- | 22 | --- |
25 | configure.ac | 29 +++++++++++++---------------- | 23 | configure.ac | 28 +++++++++++++--------------- |
26 | 1 file changed, 13 insertions(+), 16 deletions(-) | 24 | 1 file changed, 13 insertions(+), 15 deletions(-) |
27 | 25 | ||
28 | diff --git a/configure.ac b/configure.ac | 26 | diff --git a/configure.ac b/configure.ac |
29 | index 55e774b0..d0f3b7da 100644 | 27 | index 55e774b..5ea3a93 100644 |
30 | --- a/configure.ac | 28 | --- a/configure.ac |
31 | +++ b/configure.ac | 29 | +++ b/configure.ac |
32 | @@ -166,6 +166,7 @@ strtol dnl | 30 | @@ -153,21 +153,19 @@ AC_FUNC_REALLOC |
33 | AC_CHECK_FUNCS([dnl | ||
34 | pow dnl Used only by "examples/manual/expr" | ||
35 | setlocale dnl Needed only if NLS is enabled | ||
36 | +reallocarr dnl NetBSD function. Use reallocarray if not available. | ||
37 | reallocarray dnl OpenBSD function. We have replacement if not available. | ||
38 | ]) | ||
39 | |||
40 | diff --git a/configure.ac b/configure.ac | ||
41 | index 3c977a4e..9c53590f 100644 | ||
42 | --- a/configure.ac | ||
43 | +++ b/configure.ac | ||
44 | @@ -158,22 +158,19 @@ AC_FUNC_REALLOC | ||
45 | AS_IF([test "$cross_compiling" = yes], | 31 | AS_IF([test "$cross_compiling" = yes], |
46 | AC_MSG_WARN([result $ac_cv_func_realloc_0_nonnull guessed because of cross compilation])) | 32 | AC_MSG_WARN([result $ac_cv_func_realloc_0_nonnull guessed because of cross compilation])) |
47 | 33 | ||
@@ -58,7 +44,6 @@ index 3c977a4e..9c53590f 100644 | |||
58 | -AC_CHECK_FUNCS([dnl | 44 | -AC_CHECK_FUNCS([dnl |
59 | -pow dnl Used only by "examples/manual/expr" | 45 | -pow dnl Used only by "examples/manual/expr" |
60 | -setlocale dnl Needed only if NLS is enabled | 46 | -setlocale dnl Needed only if NLS is enabled |
61 | -reallocarr dnl NetBSD function. Use reallocarray if not available. | ||
62 | -reallocarray dnl OpenBSD function. We have replacement if not available. | 47 | -reallocarray dnl OpenBSD function. We have replacement if not available. |
63 | -]) | 48 | -]) |
64 | +dnl Autoheader (<= 2.69) bug: "dnl" comments in a quoted argument of | 49 | +dnl Autoheader (<= 2.69) bug: "dnl" comments in a quoted argument of |
@@ -77,3 +62,6 @@ index 3c977a4e..9c53590f 100644 | |||
77 | 62 | ||
78 | AC_CONFIG_FILES( | 63 | AC_CONFIG_FILES( |
79 | Makefile | 64 | Makefile |
65 | -- | ||
66 | 2.25.1 | ||
67 | |||