1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../gcc/stdc++-include_next.patch
5 # Copyright (C) 2008 - 2016 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
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
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
27 #define __need_ptrdiff_t
29 #define __need_offsetof
30 -#include_next <stddef.h>
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
37 #pragma GCC system_header
39 #undef __need___va_list
40 -#include_next <stdarg.h>