icecat: add release icecat-140.10.1-1gnu1 for ecne

This commit is contained in:
Ark74 2026-05-04 16:58:41 -06:00
parent a5f93cb214
commit ff85d7c623
1256 changed files with 63469 additions and 24141 deletions

View file

@ -987,9 +987,16 @@ struct hb_aat_layout_chain_accelerator_t
{
unsigned count = chain.get_subtable_count ();
unsigned size = sizeof (hb_aat_layout_chain_accelerator_t) -
HB_VAR_ARRAY * sizeof (hb_accelerate_subtables_context_t::hb_applicable_t) +
count * sizeof (hb_accelerate_subtables_context_t::hb_applicable_t);
unsigned product;
if (unlikely (hb_unsigned_mul_overflows (count,
sizeof (hb_accelerate_subtables_context_t::hb_applicable_t), &product)))
return nullptr;
unsigned size;
if (unlikely (hb_unsigned_add_overflows (sizeof (hb_aat_layout_chain_accelerator_t) -
HB_VAR_ARRAY * sizeof (hb_accelerate_subtables_context_t::hb_applicable_t), product, &size))) {
return nullptr;
}
/* The following is a calloc because when we are collecting subtables,
* some of them might be invalid and hence not collect; as a result,

View file

@ -131,12 +131,13 @@ DEFINES['HB_NO_FALLBACK_SHAPE'] = True
DEFINES['HB_NO_UCD'] = True
DEFINES['HB_NO_UNICODE_FUNCS'] = True
# On Android, we want to use harfbuzz's mmap support for file access,
# We want to use harfbuzz's mmap support for file access,
# so we need to set the appropriate configuration flags as we're not
# running harfbuzz's own configure script.
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'windows':
DEFINES['HAVE_MMAP'] = 1
DEFINES['HAVE_SYS_MMAN_H'] = 1
DEFINES['HAVE_UNISTD_H'] = 1
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
DEFINES['UNICODE'] = True