SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,15 @@
Increase the thread stack size to the default size on Linux, fixes
a crash.
Index: src/sshmasterconnection.cpp
--- src/sshmasterconnection.cpp.orig
+++ src/sshmasterconnection.cpp
@@ -152,7 +152,7 @@ SshMasterConnection::SshMasterConnection (QObject* par
QString proxylogin, QString proxypassword, QString proxykey,
bool proxyautologin, bool proxyKrbLogin ) : QThread ( parent )
{
-#if defined ( Q_OS_DARWIN )
+#if defined ( Q_OS_DARWIN ) || defined(__OpenBSD__)
// Mac OS X provides only 512KB stack space for secondary threads.
// As we put a 512KB buffer on the stack later on, we need a bigger stack space.
setStackSize (sizeof (char) * 1024 * 1024 * 2);