diff -Naur libreoffice-7.6.0.0.beta1/external/skia.old/illumos-no-malloc-usable-size.patch libreoffice-7.6.0.0.beta1/external/skia/illumos-no-malloc-usable-size.patch --- libreoffice-7.6.0.0.beta1/external/skia.old/illumos-no-malloc-usable-size.patch 1969-12-31 19:00:00.000000000 -0500 +++ libreoffice-7.6.0.0.beta1/external/skia/illumos-no-malloc-usable-size.patch 2023-06-21 16:43:40.798954904 -0400 @@ -0,0 +1,11 @@ +--- skia/src/base/SkContainers.cpp.old 2023-06-21 16:39:34.295412401 -0400 ++++ skia/src/base/SkContainers.cpp 2023-06-21 16:39:55.779378998 -0400 +@@ -38,7 +38,7 @@ + #elif defined(SK_BUILD_FOR_ANDROID) && __ANDROID_API__ >= 17 + completeSize = malloc_usable_size(ptr); + SkASSERT(completeSize >= size); +- #elif defined(SK_BUILD_FOR_UNIX) ++ #elif defined(SK_BUILD_FOR_UNIX) && !defined(__illumos__) + completeSize = malloc_usable_size(ptr); + SkASSERT(completeSize >= size); + #elif defined(SK_BUILD_FOR_WIN) --- core-589fb36b663cbd68afc26419629a4a95bd593a89/external/skia/UnpackedTarball_skia.mk.old 2024-04-17 20:09:39.075636787 -0400 +++ core-589fb36b663cbd68afc26419629a4a95bd593a89/external/skia/UnpackedTarball_skia.mk 2024-04-17 20:10:24.339870077 -0400 @@ -42,6 +42,7 @@ 0001-AvoidCombiningExtrememelyLargeMeshes.patch.1 \ sort-comparison-assumption.patch.0 \ help-msvc-analyzer.patch \ + illumos-no-malloc-usable-size.patch \ $(eval $(call gb_UnpackedTarball_set_patchlevel,skia,1))