# disable croaking about missing SSE2 for WASM (web assemblies) when
# instantiating a Javascript engine

source+=(qtdeclarative-everywhere-src-5.12.3-no-sse2-non-fatal.patch)
sha256sums+=('5dce1799db9c4bca10006eb4a4980ffa74d6da5b18ab02f31a5267c44338b765')

eval "$(
  declare -f prepare | \
    sed '
      /cd/a if [ "${CARCH}" != "pentium4" ]; then patch -Np1 -i ../qtdeclarative-everywhere-src-5.12.3-no-sse2-non-fatal.patch; fi
    '
)"