freebsd-ports/databases/arangodb33/files/patch-lib_Basics_ArangoGlobalContext.cpp
Yuri Victorovich 01c8f600d1 databases/arangodb33: Update 3.3.3 -> 3.3.7
Port changes:
* Update maintaner e-mail galu@packetdam.com -> dev@dudu.ro
* Patch updates and additions

PR:		227637
Submitted by:	Vlad Galu <dev@dudu.ro> (mantainer)
2018-04-23 15:49:47 +00:00

14 lines
510 B
C++

--- lib/Basics/ArangoGlobalContext.cpp.orig 2018-04-12 13:04:01 UTC
+++ lib/Basics/ArangoGlobalContext.cpp
@@ -145,10 +145,9 @@ ArangoGlobalContext::ArangoGlobalContext
#ifndef __GLIBC__
// Increase default stack size for libmusl:
pthread_attr_t a;
- memset(&a, 0, sizeof(pthread_attr_t));
+ pthread_attr_init(&a);
pthread_attr_setstacksize(&a, 8*1024*1024); // 8MB as in glibc
pthread_attr_setguardsize(&a, 4096); // one page
- pthread_setattr_default_np(&a);
#endif
#endif
#endif