summaryrefslogtreecommitdiff
path: root/meta/recipes-bsp/grub/files
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2013-08-03 17:04:00 -0700
committerSaul Wold <sgw@linux.intel.com>2013-08-05 23:59:56 -0700
commit60f845774d62b76c09602df299cef922edfea3c4 (patch)
tree6520fb04dfda21d2c59d7bf709360b37dde82166 /meta/recipes-bsp/grub/files
parentc07c477ff96358d3b40cc743ec4adf92193bb336 (diff)
downloadopenembedded-core-60f845774d62b76c09602df299cef922edfea3c4.tar.gz
openembedded-core-60f845774d62b76c09602df299cef922edfea3c4.tar.bz2
openembedded-core-60f845774d62b76c09602df299cef922edfea3c4.zip
grub-efi-native: add flex patch to efi-native version also
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-bsp/grub/files')
-rw-r--r--meta/recipes-bsp/grub/files/fix-issue-with-flex-2.5.37.patch21
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 @@
+Upstream-Status: Backport
+
+This fixes compilation issues when using flex-2.5.37. It was taken from upstream.
+
+Original author is: Vladimir Serbinenko <phcoder@gmail.com>
+
+Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
+
+Index: grub-2.00/grub-core/script/yylex.l
+===================================================================
+--- grub-2.00.orig/grub-core/script/yylex.l 2012-06-08 23:24:15.000000000 +0300
++++ grub-2.00/grub-core/script/yylex.l 2013-07-31 14:34:40.708100982 +0300
+@@ -29,6 +29,8 @@
+ #pragma GCC diagnostic ignored "-Wmissing-prototypes"
+ #pragma GCC diagnostic ignored "-Wmissing-declarations"
+ #pragma GCC diagnostic ignored "-Wunsafe-loop-optimizations"
++#pragma GCC diagnostic ignored "-Wunused-function"
++#pragma GCC diagnostic ignored "-Wsign-compare"
+
+ #define yyfree grub_lexer_yyfree
+ #define yyalloc grub_lexer_yyalloc