aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc49
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-09-09 18:48:24 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-09-09 18:48:24 +0000
commit37685360820c4dec7ab371b1ad333092cc53725f (patch)
tree79e844a319b1ccd324eaafe8501fa231d44b548b /lang/gcc49
parent2b5bfdd9f2306c4a2440b8e36a8008e1b307b386 (diff)
downloadports-37685360820c4dec7ab371b1ad333092cc53725f.tar.gz
ports-37685360820c4dec7ab371b1ad333092cc53725f.zip
Notes
Diffstat (limited to 'lang/gcc49')
-rw-r--r--lang/gcc49/files/patch-gcc_system.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lang/gcc49/files/patch-gcc_system.h b/lang/gcc49/files/patch-gcc_system.h
new file mode 100644
index 000000000000..05f61aaab868
--- /dev/null
+++ b/lang/gcc49/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