pango: backport crash fix affecting gtk ngl backend

see https://gitlab.gnome.org/GNOME/pango/-/issues/789
This commit is contained in:
Christoph Reiter 2024-04-03 08:57:17 +02:00
parent c814d2dea6
commit f94e59d1d8

View File

@ -33,12 +33,12 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
options=('staticlibs' 'strip' 'emptydirs') options=('staticlibs' 'strip' 'emptydirs')
source=("https://download.gnome.org/sources/pango/${pkgver:0:4}/${_realname}-${pkgver}.tar.xz" source=("https://download.gnome.org/sources/pango/${pkgver:0:4}/${_realname}-${pkgver}.tar.xz"
"https://gitlab.gnome.org/GNOME/pango/-/merge_requests/720.patch" "https://gitlab.gnome.org/GNOME/pango/-/merge_requests/720.patch"
"0001-disable-dwrite.patch" "https://gitlab.gnome.org/GNOME/pango/-/merge_requests/729.patch"
"https://gitlab.gnome.org/GNOME/pango/-/commit/1f158f7fe8b1535c4be3d8a2f0eff54f40e588b7.patch") "0001-disable-dwrite.patch")
sha256sums=('d0076afe01082814b853deec99f9349ece5f2ce83908b8e58ff736b41f78a96b' sha256sums=('d0076afe01082814b853deec99f9349ece5f2ce83908b8e58ff736b41f78a96b'
'ccaa073482a2fee193ac38de548fa3cef6aba10090f96b358c725beff7539e32' 'ccaa073482a2fee193ac38de548fa3cef6aba10090f96b358c725beff7539e32'
'18f14c39d441ec8d015209a6d1daf15fd17e7504b958f808b33477e1d54d5c97' '79b5a00e82f7e5093e589e3c2d5493d679b08f237bc9fdd9ed718288f2c15bba'
'cfd98767cf29be4fe604611edea4e709394f4bbf5cd184f08518cafeb2080aa7') '18f14c39d441ec8d015209a6d1daf15fd17e7504b958f808b33477e1d54d5c97')
prepare() { prepare() {
cd "${srcdir}/${_realname}-${pkgver}" cd "${srcdir}/${_realname}-${pkgver}"
@ -46,11 +46,11 @@ prepare() {
# https://gitlab.gnome.org/GNOME/pango/-/merge_requests/720 # https://gitlab.gnome.org/GNOME/pango/-/merge_requests/720
patch -Np1 -i "${srcdir}/720.patch" patch -Np1 -i "${srcdir}/720.patch"
# https://gitlab.gnome.org/GNOME/pango/-/merge_requests/729
patch -Np1 -i "${srcdir}/729.patch"
# https://gitlab.gnome.org/GNOME/pango/-/issues/767 # https://gitlab.gnome.org/GNOME/pango/-/issues/767
patch -Np1 -i "${srcdir}/0001-disable-dwrite.patch" patch -Np1 -i "${srcdir}/0001-disable-dwrite.patch"
# https://gitlab.gnome.org/GNOME/pango/-/merge_requests/726
patch -Np1 -i "${srcdir}/1f158f7fe8b1535c4be3d8a2f0eff54f40e588b7.patch"
} }
build() { build() {