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:
Gerald Pfeifer 2017-04-16 02:40:18 +00:00
parent 035ff827f4
commit d973653c7b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438614

View 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