diff options
| author | mike.looijmans@topic.nl <mike.looijmans@topic.nl> | 2015-10-08 07:39:20 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-10-13 12:28:17 +0200 |
| commit | 5a5ec1c0607466d0369170c7a3e25ca92d51ca1c (patch) | |
| tree | b3d18d8adbca77453d964af71c91c24c7cb97fe1 /toolchain-layer/recipes-devtools/gcc/files/pr22133-mingw-path-fixup.patch | |
| parent | c09b65deccf20bbe4f94b5fe766c68996603199c (diff) | |
| download | meta-openembedded-5a5ec1c0607466d0369170c7a3e25ca92d51ca1c.tar.gz | |
Remove toolchain-layer
Just including the toolchain-layer in a bblayers.conf results in:
ERROR: ExpansionError during parsing .../meta-oe/toolchain-layer/recipes-devtools/gcc/gcc-crosssdk_4.6.bb: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URI
Since there is no maintainer, remove it from meta-openembedded.
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'toolchain-layer/recipes-devtools/gcc/files/pr22133-mingw-path-fixup.patch')
| -rw-r--r-- | toolchain-layer/recipes-devtools/gcc/files/pr22133-mingw-path-fixup.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/toolchain-layer/recipes-devtools/gcc/files/pr22133-mingw-path-fixup.patch b/toolchain-layer/recipes-devtools/gcc/files/pr22133-mingw-path-fixup.patch deleted file mode 100644 index 429e9ffd0c..0000000000 --- a/toolchain-layer/recipes-devtools/gcc/files/pr22133-mingw-path-fixup.patch +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | diff -rupN gcc-4.2.orig/gcc/c-incpath.c gcc-4.2/gcc/c-incpath.c | ||
| 2 | --- gcc-4.2.orig/gcc/c-incpath.c 2007-09-01 11:28:30.000000000 -0400 | ||
| 3 | +++ gcc-4.2/gcc/c-incpath.c 2008-08-17 16:56:01.000000000 -0400 | ||
| 4 | @@ -340,13 +340,18 @@ add_path (char *path, int chain, int cxx | ||
| 5 | cpp_dir *p; | ||
| 6 | |||
| 7 | #if defined (HAVE_DOS_BASED_FILE_SYSTEM) | ||
| 8 | - /* Convert all backslashes to slashes. The native CRT stat() | ||
| 9 | - function does not recognize a directory that ends in a backslash | ||
| 10 | - (unless it is a drive root dir, such "c:\"). Forward slashes, | ||
| 11 | - trailing or otherwise, cause no problems for stat(). */ | ||
| 12 | - char* c; | ||
| 13 | - for (c = path; *c; c++) | ||
| 14 | - if (*c == '\\') *c = '/'; | ||
| 15 | + /* Remove unnecessary trailing slashes. On some versions of MS | ||
| 16 | + Windows, trailing _forward_ slashes cause no problems for stat(). | ||
| 17 | + On newer versions, stat() does not recognise a directory that ends | ||
| 18 | + in a '\\' or '/', unless it is a drive root dir, such as "c:/", | ||
| 19 | + where it is obligatory. */ | ||
| 20 | + int pathlen = strlen (path); | ||
| 21 | + char* end = path + pathlen - 1; | ||
| 22 | + /* Preserve the lead '/' or lead "c:/". */ | ||
| 23 | + char* start = path + (pathlen > 2 && path[1] == ':' ? 3 : 1); | ||
| 24 | + | ||
| 25 | + for (; end > start && IS_DIR_SEPARATOR (*end); end--) | ||
| 26 | + *end = 0; | ||
| 27 | #endif | ||
| 28 | |||
| 29 | p = XNEW (cpp_dir); | ||
