Created attachment 152989 [details]
patch to allow building port on gcc-5
There are two problems with building webkit on gcc-5.
1) The configure check is brain-dead, it can't figure out 5 > 4.x
2) -Wno-c++11-extensions is a clang-only flag that gcc-5 will not accept.
The attached patch adds a patch to configure that fixes the configure check. It also groups -Wno-c++11-extensions with another clang-only flag.
This fixes the build with gcc5 and probably gcc4.9 as well (but I'm not sure when the flag started getting rejected)
At least 110 ports depends on webkit-gtk2, directly or indirectly.
Auto-assigned to maintainer gnome@FreeBSD.org
technically I can push this now due to timeout. I'd rather gnome@ team actually approve it though.
As far as I can tell, it's a no-op for FreeBSD, so it should be okay.
(In reply to John Marino from comment #2)
> technically I can push this now due to timeout. I'd rather gnome@ team
> actually approve it though.
> As far as I can tell, it's a no-op for FreeBSD, so it should be okay.
Please do. I just got bit by this now. :(
Additional (pertinent?) information:
FreeBSD dev 9.3-STABLE FreeBSD 9.3-STABLE #0 r279799:
Mon Mar 9 07:27:54 PDT 2015
ports @ r380829
Probably should mention;
the patch above worked well for me, on the system I
A commit references this bug:
Date: Wed Mar 11 18:27:19 UTC 2015
New revision: 381025
www/webkit-gtk(2,3): Fix build on gcc5 and isolate clang-only flag
Submitted by: marino
Approved by: maintainer timeout