diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2013-07-31 14:40:36 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-03 10:33:08 +0100 |
commit | 338b0e7b0ff24aac2a81775dacb523b45ee83fbd (patch) | |
tree | 0cfc011783f41a82ce7de1ed858977c1f973497e /meta/recipes-bsp/grub/grub-2.00 | |
parent | e75bbf99e0ecf1e4b7bb96022333d013b5bafecc (diff) | |
download | poky-338b0e7b0ff24aac2a81775dacb523b45ee83fbd.tar.gz |
grub_2.00: fix compilation when using flex 2.5.37
(From OE-Core rev: 2158003ea4b9879fdef34488462cc59450638218)
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/grub/grub-2.00')
-rw-r--r-- | meta/recipes-bsp/grub/grub-2.00/fix-issue-with-flex-2.5.37.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-bsp/grub/grub-2.00/fix-issue-with-flex-2.5.37.patch b/meta/recipes-bsp/grub/grub-2.00/fix-issue-with-flex-2.5.37.patch new file mode 100644 index 0000000000..61ae2f5372 --- /dev/null +++ b/meta/recipes-bsp/grub/grub-2.00/fix-issue-with-flex-2.5.37.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | Upstream-Status: Backport | ||
2 | |||
3 | This fixes compilation issues when using flex-2.5.37. It was taken from upstream. | ||
4 | |||
5 | Original author is: Vladimir Serbinenko <phcoder@gmail.com> | ||
6 | |||
7 | Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> | ||
8 | |||
9 | Index: grub-2.00/grub-core/script/yylex.l | ||
10 | =================================================================== | ||
11 | --- grub-2.00.orig/grub-core/script/yylex.l 2012-06-08 23:24:15.000000000 +0300 | ||
12 | +++ grub-2.00/grub-core/script/yylex.l 2013-07-31 14:34:40.708100982 +0300 | ||
13 | @@ -29,6 +29,8 @@ | ||
14 | #pragma GCC diagnostic ignored "-Wmissing-prototypes" | ||
15 | #pragma GCC diagnostic ignored "-Wmissing-declarations" | ||
16 | #pragma GCC diagnostic ignored "-Wunsafe-loop-optimizations" | ||
17 | +#pragma GCC diagnostic ignored "-Wunused-function" | ||
18 | +#pragma GCC diagnostic ignored "-Wsign-compare" | ||
19 | |||
20 | #define yyfree grub_lexer_yyfree | ||
21 | #define yyalloc grub_lexer_yyalloc | ||