freebsd-ports/devel/avr-gcc/files/patch-gcc_system.h
Antoine Brodin 9f05e4de35 Fix build with libc++ 3.9.0
PR:		212696
Submitted by:	dim
Approved by:	maintainer timeout (1 month)
2016-10-20 06:13:07 +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