diff options
author | dim <dim@FreeBSD.org> | 2017-02-01 05:25:30 +0800 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2017-02-01 05:25:30 +0800 |
commit | bd7266a170d47da9d5349726feda8e230fa440af (patch) | |
tree | 011fd8186e1578d0add2f7afeeb0ef62117a3034 /astro | |
parent | 29d851d36de9d4df4f4ec69de53cc8805a623fc6 (diff) | |
download | freebsd-ports-gnome-bd7266a170d47da9d5349726feda8e230fa440af.tar.gz freebsd-ports-gnome-bd7266a170d47da9d5349726feda8e230fa440af.tar.zst freebsd-ports-gnome-bd7266a170d47da9d5349726feda8e230fa440af.zip |
Similar to bug 212465, lang/gcc5 doesn't compile with recent versions of
libc++, because it attempts to redefine abort():
In file included from /wrkdirs/usr/ports/lang/gcc5/work/gcc-5.4.0/gcc/auto-profile.c:25:
In file included from /usr/include/c++/v1/map:446:
/usr/include/c++/v1/functional:1398:2: error: no member named 'fancy_abort' in namespace 'std::__1'; did you mean simply 'fancy_abort'?
_VSTD::abort();
^~~~~~~
/usr/include/c++/v1/__config:383:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_NAMESPACE
^
Patch this in the same way as the other gcc ports, by including <new> in
gcc/system.h, and moving a few includes to before "system.h".
Approved by: gerald (maintainer)
PR: 216266
MFH: 2017Q1
Diffstat (limited to 'astro')
0 files changed, 0 insertions, 0 deletions