eval "$( declare -f prepare | \ sed ' $ i find ${srcdir} -type f -name 'BUILD.gn' -exec sed -i "/-Wl,--fatal-warnings/d" {} \+ ' )" # disable ICU in webengine (why?) eval "$( declare -f build | \ sed ' s/ -webengine-icu// ' )" # let's not use too much memory, gcc tmpfiles can in this # case also be put on a real /tmp (instead of tmpfs) to reduce # preasure on the RAM eval "$( declare -f build | \ sed ' /qmake/ a find . -name Makefile -exec sed -i "s@-pipe@@g" {} \\; ' )" # from https://bugs.gentoo.org/721876 source+=('qtwebengine-everywhere-src-5.14.2-gcc10-patches.patch') sha256sums+=('51b6a921e473ddbab14d7c8a8c698e3d68dde9be4c8a0a0f4cf07ac00f82e0f6') eval "$( declare -f prepare | \ sed ' $ i cd "$srcdir/${_pkgfqn}"; patch -Np1 -i "${srcdir}"/qtwebengine-everywhere-src-5.14.2-gcc10-patches.patch ' )"