diff options
Diffstat (limited to 'dev-embedded/u-boot-tools/files')
-rw-r--r-- | dev-embedded/u-boot-tools/files/u-boot-tools-2019.10-musl-ulong.patch | 19 | ||||
-rw-r--r-- | dev-embedded/u-boot-tools/files/u-boot-tools-2020.01-gcc-10.patch | 11 |
2 files changed, 0 insertions, 30 deletions
diff --git a/dev-embedded/u-boot-tools/files/u-boot-tools-2019.10-musl-ulong.patch b/dev-embedded/u-boot-tools/files/u-boot-tools-2019.10-musl-ulong.patch deleted file mode 100644 index 910e95a8cbf6..000000000000 --- a/dev-embedded/u-boot-tools/files/u-boot-tools-2019.10-musl-ulong.patch +++ /dev/null @@ -1,19 +0,0 @@ -https://bugs.gentoo.org/703132 - -include/compiler.h implies to define 'ulong' type. -glibc and musl define it on different conditions. -As a result tools fail to build on musl as: - include/env.h:159:1: error: unknown type name 'ulong'; did you mean 'long'? - -We fix it by defining 'ulong' unconditionally (as on BSD). - ---- a/include/compiler.h -+++ b/include/compiler.h -@@ -44,6 +44,7 @@ - #ifdef __linux__ - # include <endian.h> - # include <byteswap.h> -+typedef unsigned long ulong; - #elif defined(__MACH__) || defined(__FreeBSD__) - # include <machine/endian.h> - typedef unsigned long ulong; 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 deleted file mode 100644 index 321559761517..000000000000 --- a/dev-embedded/u-boot-tools/files/u-boot-tools-2020.01-gcc-10.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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() */ |