aboutsummaryrefslogtreecommitdiff
path: root/devel/avr-gcc
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2016-10-20 06:13:07 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2016-10-20 06:13:07 +0000
commit9f05e4de3503a0a1636cc9bad5b96b403677b0df (patch)
tree29732b03f00b405cbef1d32e9b79350d879ee48a /devel/avr-gcc
parenta02782d75539f59ad6aebc92ad0f74c05d10993b (diff)
downloadports-9f05e4de3503a0a1636cc9bad5b96b403677b0df.tar.gz
ports-9f05e4de3503a0a1636cc9bad5b96b403677b0df.zip
Notes
Diffstat (limited to 'devel/avr-gcc')
-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