Copy files/patch-gcc_system.h over from lang/gcc49 to fix the build
with libc++ 3.9.0. PR: 212804 Submitted by: dim Approved by: ian (maintainer)
This commit is contained in:
parent
035ff827f4
commit
d973653c7b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438614
1 changed files with 10 additions and 0 deletions
10
devel/arm-none-eabi-gcc492/files/patch-gcc_system.h
Normal file
10
devel/arm-none-eabi-gcc492/files/patch-gcc_system.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- gcc/system.h.orig 2014-01-02 22:23:26 UTC
|
||||
+++ gcc/system.h
|
||||
@@ -203,6 +203,7 @@ extern int errno;
|
||||
|
||||
#ifdef __cplusplus
|
||||
# include <cstring>
|
||||
+# include <new>
|
||||
#endif
|
||||
|
||||
/* Some of glibc's string inlines cause warnings. Plus we'd rather
|
Loading…
Reference in a new issue