diff --git a/dev-python/pygtk/pygtk-2.24.0-r4.ebuild b/dev-python/pygtk/pygtk-2.24.0-r4.ebuild index 0b198545d9..3c47931d41 100644 --- a/dev-python/pygtk/pygtk-2.24.0-r4.ebuild +++ b/dev-python/pygtk/pygtk-2.24.0-r4.ebuild @@ -39,6 +39,9 @@ src_prepare() { epatch "${FILESDIR}/${PN}-2.13.0-fix-codegen-location.patch" epatch "${FILESDIR}/${PN}-2.14.1-libdir-pc.patch" + # Fix memory leak in _wrap_pango_cairo_create_layout + epatch "${FILESDIR}/${PN}-2.24.0-fix-create-layout-unref.patch" + # Examples is handled "manually" sed -e 's/\(SUBDIRS = .* \)examples/\1/' \ -i Makefile.am Makefile.in || die