Index: webkit-gtk3/Makefile =================================================================== --- webkit-gtk3/Makefile (revision 378956) +++ webkit-gtk3/Makefile (working copy) @@ -79,9 +79,6 @@ .include -# Shutup warning spam -CXXFLAGS+= -Wno-c++11-extensions - .if ${ARCH} == powerpc64 CFLAGS+= -mminimal-toc .endif @@ -103,6 +100,7 @@ .endif .if ${CHOSEN_COMPILER_TYPE} == clang +CXXFLAGS+= -Wno-c++11-extensions # Shutup warning spam CXXFLAGS+= -Qunused-arguments .endif Index: webkit-gtk3/files/patch-configure =================================================================== --- webkit-gtk3/files/patch-configure (revision 0) +++ webkit-gtk3/files/patch-configure (working copy) @@ -0,0 +1,20 @@ +--- configure.orig 2015-01-07 09:47:51 UTC ++++ configure +@@ -4890,7 +4890,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +-#if !(defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 7) ++#if !(defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7))) + #error Not a supported GCC compiler + #endif + +@@ -4948,7 +4948,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +-#if !(defined(__GNUG__) && defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 7) ++#if !(defined(__GNUG__) && defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7))) + #error Not a supported G++ compiler + #endif +