user/rstudio-desktop: new aport

This commit is contained in:
Antoine Martin 2023-05-03 00:32:53 -04:00
parent 16b38093e6
commit 3e579f9cc1
Signed by: forge
GPG key ID: D62A472A4AA7D541
8 changed files with 268 additions and 0 deletions

View file

@ -0,0 +1,13 @@
diff --git a/src/cpp/desktop/DesktopMain.cpp.orig b/src/cpp/desktop/DesktopMain.cpp
index d80919b..5ed17a5 100644
--- a/src/cpp/desktop/DesktopMain.cpp.orig
+++ b/src/cpp/desktop/DesktopMain.cpp
@@ -632,7 +632,7 @@ int main(int argc, char* argv[])
}
#endif
-#if defined(Q_OS_LINUX)
+#if defined(Q_OS_LINUX) && defined(__GLIBC__)
static char noSandbox[] = "--no-sandbox";