* updated wayland (1.23.0 -> 1.23.1)
[t2sde.git] / architecture / blackfin / package / gcc / stdc++-include_next.patch
bloba49fae055fd013962130e70efd0a65ea7924c1f7
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../gcc/stdc++-include_next.patch
5 # Copyright (C) 2008 - 2016 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 During cross builds g++ does not find the toolchain stddef.h header, as the
18 include dir was scanned before including the cstddef header. Also my
19 understanding of include_next is to include the next, simillar named file -
20 not some completely different file.
22 - Rene Rebe <rene@exactcode.de>
24 --- gcc-4.3.1/libstdc++-v3/include/c/cstddef.vanilla 2008-08-13 13:48:12.000000000 +0200
25 +++ gcc-4.3.1/libstdc++-v3/include/c/cstddef 2008-08-13 13:49:11.000000000 +0200
26 @@ -40,6 +40,6 @@
27 #define __need_ptrdiff_t
28 #define __need_NULL
29 #define __need_offsetof
30 -#include_next <stddef.h>
31 +#include <stddef.h>
33 #endif
34 --- gcc-4.3.1/libstdc++-v3/include/c/cstdarg.vanilla 2008-08-18 15:10:20.000000000 +0200
35 +++ gcc-4.3.1/libstdc++-v3/include/c/cstdarg 2008-08-18 15:10:23.000000000 +0200
36 @@ -37,6 +37,6 @@
37 #pragma GCC system_header
39 #undef __need___va_list
40 -#include_next <stdarg.h>
41 +#include <stdarg.h>
43 #endif