diff options
author | antoine <antoine@FreeBSD.org> | 2017-03-11 17:41:37 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2017-03-11 17:41:37 +0800 |
commit | 02b5ea68b41787274c56acb5a08623ac660c746c (patch) | |
tree | dc021e34485924d2d49c6a436635527b025c489a /devel | |
parent | f1339954117238d031f2efa2542e3fb29df8d396 (diff) | |
download | freebsd-ports-gnome-02b5ea68b41787274c56acb5a08623ac660c746c.tar.gz freebsd-ports-gnome-02b5ea68b41787274c56acb5a08623ac660c746c.tar.zst freebsd-ports-gnome-02b5ea68b41787274c56acb5a08623ac660c746c.zip |
Apply r432958 from lang/gcc5 to devel/avr-gcc to fix build with recent
versions of libc++
Reported by: pkg-fallout
Diffstat (limited to 'devel')
-rw-r--r-- | devel/avr-gcc/files/patch-libc++ | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/devel/avr-gcc/files/patch-libc++ b/devel/avr-gcc/files/patch-libc++ new file mode 100644 index 000000000000..0472a42dc668 --- /dev/null +++ b/devel/avr-gcc/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 2015-10-12 10:59:21 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 + |