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" {} \\; ' )" # redone patch, see also https://bugs.gentoo.org/721876 # most is now fixed upstream in 5.15.0, patch for # src/3rdparty/chromium/third_party/webrtc/modules/video_coding/decoding_state.h # might be superfluous, but testing takes too much time, so keeping it for now. # (IMHO it would include cstdint just by accident, the header file need uintxx_t) source+=('qtwebengine-everywhere-src-5.15.0-gcc10-patches.patch') sha256sums+=('b41d4eca4c75c6d8115444ac4b10b8aa0f742d3ce64077d77eb4fb2079d0a42c') eval "$( declare -f prepare | \ sed ' $ i cd "$srcdir/${_pkgfqn}"; patch -Np1 -i "${srcdir}"/qtwebengine-everywhere-src-5.15.0-gcc10-patches.patch ' )"