SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
net/guacamole/server/patches/patch-src_libguac_pool_c
Normal file
15
net/guacamole/server/patches/patch-src_libguac_pool_c
Normal file
|
@ -0,0 +1,15 @@
|
|||
Not supported on OpenBSD, but guacd seems to run OK without this anyway.
|
||||
|
||||
Index: src/libguac/pool.c
|
||||
--- src/libguac/pool.c.orig
|
||||
+++ src/libguac/pool.c
|
||||
@@ -41,7 +41,9 @@ guac_pool* guac_pool_alloc(int size) {
|
||||
|
||||
/* Init lock */
|
||||
pthread_mutexattr_init(&lock_attributes);
|
||||
+#ifndef __OpenBSD__
|
||||
pthread_mutexattr_setpshared(&lock_attributes, PTHREAD_PROCESS_SHARED);
|
||||
+#endif
|
||||
pthread_mutex_init(&(pool->__lock), &lock_attributes);
|
||||
|
||||
return pool;
|
Loading…
Add table
Add a link
Reference in a new issue