diff options
author | Saul Wold <sgw@linux.intel.com> | 2013-08-03 17:04:00 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-06 12:39:56 +0100 |
commit | 9e280a1d1e415a796aa600fad68d84b817864a3a (patch) | |
tree | a2e8f9c29fbe84d92c3ef1ef32e0235599fa3de5 /meta/recipes-bsp/grub/files | |
parent | d5ca5d8c9696017197b54aa9ea6d858dfe547e5d (diff) | |
download | poky-9e280a1d1e415a796aa600fad68d84b817864a3a.tar.gz |
grub-efi-native: add flex patch to efi-native version also
(From OE-Core rev: 60f845774d62b76c09602df299cef922edfea3c4)
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/files')
-rw-r--r-- | meta/recipes-bsp/grub/files/fix-issue-with-flex-2.5.37.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-bsp/grub/files/fix-issue-with-flex-2.5.37.patch b/meta/recipes-bsp/grub/files/fix-issue-with-flex-2.5.37.patch new file mode 100644 index 0000000000..61ae2f5372 --- /dev/null +++ b/meta/recipes-bsp/grub/files/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 | ||