ports/devel/arm-none-eabi-gcc492/files/patch-gcc_system.h
Gerald Pfeifer d973653c7b 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)
2017-04-16 02:40:18 +00:00

10 lines
240 B
C

--- 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