aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2016-12-27 10:06:19 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2016-12-27 10:06:19 +0000
commit9895fdf7e3bc72795dda3d3aa60340ac10a4a0c7 (patch)
treed6db25ed24eab0da7223630487c66a586671d942
parent3a2cc7c5aaa922670cc484bcea18cda148d63e2a (diff)
downloadports-9895fdf7e3bc72795dda3d3aa60340ac10a4a0c7.tar.gz
ports-9895fdf7e3bc72795dda3d3aa60340ac10a4a0c7.zip
MFH: r424307
Fix build with libc++ 3.9.0 PR: 212696 Submitted by: dim
Notes
Notes: svn path=/branches/2016Q4/; revision=429591
-rw-r--r--devel/avr-gcc/files/patch-gcc_system.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/avr-gcc/files/patch-gcc_system.h b/devel/avr-gcc/files/patch-gcc_system.h
new file mode 100644
index 000000000000..05f61aaab868
--- /dev/null
+++ b/devel/avr-gcc/files/patch-gcc_system.h
@@ -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