aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2017-02-02 04:54:52 +0800
committergerald <gerald@FreeBSD.org>2017-02-02 04:54:52 +0800
commit52b0cd0df9fb9d253620ef75aa45661e1924de8e (patch)
treefe77beab65499d9ef3e6ae2fa6086738372ed7ee
parentf4a811ce43a6c28da1f1a3b67858019de85f3916 (diff)
downloadfreebsd-ports-gnome-52b0cd0df9fb9d253620ef75aa45661e1924de8e.tar.gz
freebsd-ports-gnome-52b0cd0df9fb9d253620ef75aa45661e1924de8e.tar.zst
freebsd-ports-gnome-52b0cd0df9fb9d253620ef75aa45661e1924de8e.zip
Copy over files/patch-libc++ from lang/gcc5 to lang/gcc5-devel as well.
PR: 216266 Submitted by: dim
-rw-r--r--lang/gcc5-devel/files/patch-libc++43
1 files changed, 43 insertions, 0 deletions
diff --git a/lang/gcc5-devel/files/patch-libc++ b/lang/gcc5-devel/files/patch-libc++
new file mode 100644
index 000000000000..9550b11f7c29
--- /dev/null
+++ b/lang/gcc5-devel/files/patch-libc++
@@ -0,0 +1,43 @@
+--- gcc/auto-profile.c.orig 2015-01-18 02:25:42 UTC
++++ gcc/auto-profile.c
+@@ -19,11 +19,9 @@ along with GCC; see the file COPYING3.
+ <http://www.gnu.org/licenses/>. */
+
+ #include "config.h"
+-#include "system.h"
+-
+-#include <string.h>
+ #include <map>
+ #include <set>
++#include "system.h"
+
+ #include "coretypes.h"
+ #include "hash-set.h"
+--- gcc/graphite-isl-ast-to-gimple.c.orig 2017-01-19 21:02:12 UTC
++++ gcc/graphite-isl-ast-to-gimple.c
+@@ -38,6 +38,7 @@ extern "C" {
+ #endif
+ #endif
+
++#include <map>
+ #include "system.h"
+ #include "coretypes.h"
+ #include "hash-set.h"
+@@ -75,7 +76,6 @@ extern "C" {
+ #include "tree-scalar-evolution.h"
+ #include "gimple-ssa.h"
+ #include "tree-into-ssa.h"
+-#include <map>
+
+ #ifdef HAVE_isl
+ #include "graphite-poly.h"
+--- gcc/system.h.orig 2015-01-05 12:33:28 UTC
++++ gcc/system.h
+@@ -217,6 +217,7 @@ extern int errno;
+ #ifdef __cplusplus
+ # include <algorithm>
+ # include <cstring>
++# include <new>
+ # include <utility>
+ #endif
+