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 root@dev:/usr/obj/usr/src/sys/DEV amd64 ports @ r380829 Thanks! --Chris
Probably should mention; the patch above worked well for me, on the system I noted above. --Chris
A commit references this bug: Author: marino Date: Wed Mar 11 18:27:19 UTC 2015 New revision: 381025 URL: https://svnweb.freebsd.org/changeset/ports/381025 Log: www/webkit-gtk(2,3): Fix build on gcc5 and isolate clang-only flag PR: 197669 PR: 197671 Submitted by: marino Approved by: maintainer timeout Changes: head/www/webkit-gtk2/Makefile head/www/webkit-gtk2/files/patch-configure head/www/webkit-gtk3/Makefile head/www/webkit-gtk3/files/patch-configure