From 29aabba0ea759c6a2864ff5631735b67ee38e5e0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 5 Feb 2020 18:44:56 +0000 Subject: gentoo resync : 05.02.2020 --- .../u-boot-tools/files/u-boot-tools-2020.01-gcc-10.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 dev-embedded/u-boot-tools/files/u-boot-tools-2020.01-gcc-10.patch (limited to 'dev-embedded/u-boot-tools/files') diff --git a/dev-embedded/u-boot-tools/files/u-boot-tools-2020.01-gcc-10.patch b/dev-embedded/u-boot-tools/files/u-boot-tools-2020.01-gcc-10.patch new file mode 100644 index 000000000000..321559761517 --- /dev/null +++ b/dev-embedded/u-boot-tools/files/u-boot-tools-2020.01-gcc-10.patch @@ -0,0 +1,11 @@ +--- a/scripts/dtc/dtc-lexer.l ++++ b/scripts/dtc/dtc-lexer.l +@@ -38,7 +38,7 @@ LINECOMMENT "//".*\n + #include "srcpos.h" + #include "dtc-parser.tab.h" + +-YYLTYPE yylloc; ++extern YYLTYPE yylloc; + extern bool treesource_error; + + /* CAUTION: this will stop working if we ever use yyless() or yyunput() */ -- cgit v1.2.3