# see https://github.com/mysql/mysql-workbench/pull/14/files

source+=('mysql-workbench-community-6.3.10-32bit.patch')
sha256sums+=('285dd5899c625a5d9091f8f178a6a58c86508dacd033435ba2dab4938cb238f9')

eval "$(
  declare -f prepare | \
    sed '
      /0005-gdal-use-CPLFree.patch/ {
        a \
        \
        # 32-bit compilation bug in jsonview \
        patch -Np1 < "${srcdir}"/mysql-workbench-community-6.3.10-32bit.patch
      }
    '
)"