diff -Naur libreoffice-25.2.0.0.alpha1/external/skia.old/solaris-proc-a.out.patch libreoffice-25.2.0.0.alpha1/external/skia/solaris-proc-a.out.patch --- libreoffice-25.2.0.0.alpha1/external/skia.old/solaris-proc-a.out.patch 1969-12-31 19:00:00.000000000 -0500 +++ libreoffice-25.2.0.0.alpha1/external/skia/solaris-proc-a.out.patch 2024-11-27 09:37:31.409031843 -0500 @@ -0,0 +1,27 @@ +--- skia/src/utils/SkGetExecutablePath_linux.cpp.old 2024-11-27 09:33:12.178161573 -0500 ++++ skia/src/utils/SkGetExecutablePath_linux.cpp 2024-11-27 09:34:49.212189661 -0500 +@@ -7,7 +7,12 @@ + + #include "src/utils/SkGetExecutablePath.h" + ++#ifdef __sun__ ++#include ++#else + #include ++#endif ++ + #include + #include + #include +@@ -16,7 +21,11 @@ + + std::string SkGetExecutablePath() { + std::string result(PATH_MAX, '\0'); ++#ifdef __sun__ ++ ssize_t len = readlink("/proc/self/a.out", result.data(), result.size() - 1); ++#else + ssize_t len = readlink("/proc/self/exe", result.data(), result.size() - 1); ++#endif + if (len < 0 || static_cast(len) >= PATH_MAX - 1) { + result.clear(); + } else { diff -Naur libreoffice-25.8.0.0.alpha1/external/skia.old/UnpackedTarball_skia.mk libreoffice-25.8.0.0.alpha1/external/skia/UnpackedTarball_skia.mk --- libreoffice-25.8.0.0.alpha1/external/skia/UnpackedTarball_skia.mk.old 2025-05-21 22:19:25.557005571 -0400 +++ libreoffice-25.8.0.0.alpha1/external/skia/UnpackedTarball_skia.mk 2025-05-21 22:20:46.755125000 -0400 @@ -43,6 +43,7 @@ 0002-loong64-Honor-existing-LASX-LSX-settings.patch \ 0003-loong64-Fix-missing-rounding-in-loong64-scaled_mult-.patch \ 0004-loong64-Fix-the-remaining-implicit-vector-casts.patch \ + solaris-proc-a.out.patch \ ifneq ($(MSYSTEM),) # use binary flag so patch from git-bash won't choke on mixed line-endings in patches