SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
x11/x2goclient/patches/patch-src_sshmasterconnection_cpp
Normal file
15
x11/x2goclient/patches/patch-src_sshmasterconnection_cpp
Normal 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);
|
Loading…
Add table
Add a link
Reference in a new issue