libreoffice: update to 24.8.4.2
[oi-userland.git] / components / desktop / srain / patches / 01-sun-uses-realpath.patch
blobca4d143bc9c93894d6d06d26319ec6515c7ff7e3
1 --- srain-1.7.0/src/lib/path.c.old 2024-04-30 21:44:54.587619817 -0400
2 +++ srain-1.7.0/src/lib/path.c 2024-04-30 21:45:10.830897386 -0400
3 @@ -371,7 +371,7 @@
4 return executableDir;
7 -#elif defined __linux__
8 +#elif defined __linux__ || __sun
9 char *srn_get_executable_path() {
10 char rawPathName[PATH_MAX];
11 realpath(PROC_SELF_EXE, rawPathName);