SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
|
@ -0,0 +1,15 @@
|
|||
Not supported on OpenBSD, but guacd seems to run OK without this anyway.
|
||||
|
||||
Index: src/libguac/socket-broadcast.c
|
||||
--- src/libguac/socket-broadcast.c.orig
|
||||
+++ src/libguac/socket-broadcast.c
|
||||
@@ -357,7 +357,9 @@ guac_socket* guac_socket_broadcast(guac_client* client
|
||||
socket->data = data;
|
||||
|
||||
pthread_mutexattr_init(&lock_attributes);
|
||||
+#ifndef __OpenBSD__
|
||||
pthread_mutexattr_setpshared(&lock_attributes, PTHREAD_PROCESS_SHARED);
|
||||
+#endif
|
||||
|
||||
/* Init lock */
|
||||
pthread_mutex_init(&(data->socket_lock), &lock_attributes);
|
Loading…
Add table
Add a link
Reference in a new issue